error: partial base64 value left over
David Hankins
dhankins at google.com
Wed Jan 26 20:43:33 UTC 2011
On Wed, Jan 26, 2011 at 11:44 AM, Peter Rathlev <peter at rathlev.dk> wrote:
> It seems the problem manifests itself if the string contains "+NO+"
> somewhere. It doesn't matter where in the string.
>
Yahtzee!
Try adding TOKEN_NO to this section of code in common/parse.c;
} while (token == NUMBER_OR_NAME || token == NAME || token == EQUAL
||
token == NUMBER || token == PLUS || token == SLASH ||
token == STRING);
You may want to look for other short tokens that may appear in a base64
encoded bitstring (TOKEN_NOT for example seems plausible). See
common/conflex.c (function in particular is called 'intern()') or
includes/dhctoken.h.
--
David W. Hankins
SRE
Google, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110126/1993ad5a/attachment.html>
More information about the dhcp-users
mailing list