This second patch is more robust than the first one.  It uses strncpy
rather than strcpy to guarantee that the program doesn't copy more bytes
into a buffer than it has room for.

** Attachment added: "Fix buffer overflow with strncpy"
   http://launchpadlibrarian.net/40914844/patch.buffer_overflow_strncpy_fix

-- 
Brother printers do not accept changes to default printer settings
https://bugs.launchpad.net/bugs/537854
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to