Commit d3bcf7ad authored by Mark Andrews's avatar Mark Andrews
Browse files

1975. [bug] libbind: isc_gethexstring() could misparse multi-line

                        hex strings with comments. [RT #15814]
parent fc7685a7
1975. [bug] libbind: isc_gethexstring() could misparse multi-line
hex strings with comments. [RT #15814]
1974. [doc] List each of the zone types and associated zone
options seperately in the ARM.
......
......@@ -45,8 +45,9 @@ isc_gethexstring(unsigned char *buf, size_t len, int count, FILE *fp,
goto formerr;
/* comment */
if (c == ';') {
while ((c = fgetc(fp)) != EOF && c != '\n')
/* empty */
do {
c = fgetc(fp);
} while (c != EOF && c != '\n');
if (c == '\n' && *multiline)
continue;
goto formerr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment