-
Bug
-
Resolution: Fixed
-
Major
-
2.0.6, 2.1.3, 2.2, 2.3
-
Any
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MDL-30741_master -
The following string value from a quiz question was causing the convert_pre() method in _/lib/html2text.php to get stuck and never finish converting the string to a text representation:
Consider the following function:<br /><pre style="color: rgb(153, 51, 102);">void FillMeUp(char* in_string) {<br /> int i = 0;<br /> while (in_string[i] != '\0') {<br /> in_string[i] = 'X';<br /> i++;<br /> }<br />}</pre>What would happen if a non-terminated string were input to this function?<br /><br />
|