error: partial base64 value left over

David Hankins dhankins at
Wed Jan 26 20:43:33 UTC 2011

On Wed, Jan 26, 2011 at 11:44 AM, Peter Rathlev <peter at> wrote:

> It seems the problem manifests itself if the string contains "+NO+"
> somewhere. It doesn't matter where in the string.


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

David W. Hankins
Google, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list