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

Reply via email to