[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
Corection from #4 solves the problem. I put 1000 because 200 was not sufficient for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
This crash is NOT due to any proprietary code, or binary blob. There is a really simple fix for it (that I posted way back in 2010-04-06). Look at comment #4. My fix isn't great, btw. You could still get a buffer overflow. The correct solution would be to check the size of the exec string before loading it to make sure that it is not longer than the size of the media_command array. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
** Tags added: precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
The package brother-cups-wrapper-common (in Universe) and all other brother-... packages are not maintained any more. We should consider removing them. The crash is most probably in closed-source code from Brother and probably fixed in their current driver version on their web site. ** Changed in: brother-cups-wrapper-common (Ubuntu Precise) Status: Triaged = Won't Fix ** Tags removed: rls-mgr-p-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
I've removed the repo's brother packaged and used Brother's installer script (http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/faq_prn.html#f00104). I no longer get the crash reported. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
** Tags added: rls-mgr-p-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
** Changed in: brother-cups-wrapper-common (Ubuntu) Status: Confirmed = Triaged ** Changed in: brother-cups-wrapper-common (Ubuntu) Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
** Also affects: brother-cups-wrapper-common (Ubuntu P-series) Importance: Undecided Status: New ** Changed in: brother-cups-wrapper-common (Ubuntu P-series) Status: New = Triaged ** Changed in: brother-cups-wrapper-common (Ubuntu P-series) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/423817 Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brother-cups-wrapper-common/+bug/423817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
Shows my Brother MFC-255CW in the green and checked as default under System/Administration/Printing yet crashes occur. Unable to print at all. Thank you guys for your time and attention. Cheers, Jeff Van Tassel -- brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated https://bugs.launchpad.net/bugs/423817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
The problem here is that the /usr/Brother/Printer/mfc440cn/cupswrapper/brcupsconfpt1 file is returning a *** stack smashing detected *** error. There is a buffer overrun in the char media_command variable in the brcupsconfig.c file. A quick (and rather bad) fix is to make the array larger. I changed the char media_command[100]; to char media_command[200]; and the driver works. I have attached my version of the file (I enabled debugging and added more debugging). Just change the line in the Ubuntu version of the file and it works. Ignore all of my excess debug statements. ** Attachment added: brcupsconfig.c http://launchpadlibrarian.net/43281395/brcupsconfig.c -- brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated https://bugs.launchpad.net/bugs/423817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
** Visibility changed to: Public -- brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated https://bugs.launchpad.net/bugs/423817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 423817] Re: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
** Changed in: brother-cups-wrapper-common (Ubuntu) Status: New = Confirmed -- brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated https://bugs.launchpad.net/bugs/423817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs