[Bug 6146] pxe/tftp sends pxelinux.0 to client with corrupted file name - client can't dowload file.

bugzilla at busybox.net bugzilla at busybox.net
Tue Jan 15 01:52:07 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=6146

--- Comment #4 from Denys Vlasenko <vda.linux at googlemail.com> ---
Basically, it's a client bug.

Ideally, to solve cases like this we need a syntax to include nonprintable
chars, including NULL, for string options. Just adding NUL to all strings bound
to bite us when in some cases people would want that to NOT be done.

Today, this can be done clumsily in udhcpd.conf like this:

# For broken clients, add terminating NUL. 
#option bootfile "pxelinux.0"NUL - udhcpd doesn't support this syntax
option 0x43 7078656c696e75782e3000

Can someone confirm this works?

What syntax do you propose for strings to support it more nicely? "\0"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list