[Bug 3979] udhcpc should filter out malicious hostnames passed in option 0x0c

bugzilla at busybox.net bugzilla at busybox.net
Thu Dec 8 15:40:37 UTC 2011


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

Denys Vlasenko <vda.linux at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3842|0                           |1
        is obsolete|                            |

--- Comment #5 from Denys Vlasenko <vda.linux at googlemail.com> 2011-12-08 15:40:36 UTC ---
Created attachment 3860
  --> https://bugs.busybox.net/attachment.cgi?id=3860
Proposed patch

This patch doesn't check all invalid hostnames. It only prevents ones with
non-ascii, punctuation, with leading or repeated periods, and with leading
dashes. +43 bytes.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list