According to Christoph Plattner:
> I'm not sure, if Mr. Salzenberg's implementation is correct.
> I don't know, if the BOOTP record uses '\0' termnated strings.

It doesn't.

> In my patch I used the length information (p + 1), the byte after
> the token 150 formy tests, and this work.

So did I:

       grub_memmove (config_file, p + 2, TAG_LEN(p));
       config_file[ TAG_LEN(p) ] = '\0';

-- 
Chip Salzenberg              - a.k.a. -              <[EMAIL PROTECTED]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K

Reply via email to