brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated

Bug #423817 reported by Winfried Hofer
894
This bug affects 113 people
Affects Status Importance Assigned to Milestone
brother-cups-wrapper-common (Ubuntu)
Triaged
High
Unassigned
Nominated for Lucid by siGGismallz
Precise
Won't Fix
High
Unassigned

Bug Description

Binary package hint: brother-cups-wrapper-common

Network-Printer does't work due to error

ProblemType: Crash
Architecture: i386
AssertionMessage: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
Date: Thu Sep 3 11:06:50 2009
Dependencies:
 brother-lpr-drivers-common 1.0.0-4-0ubuntu1
 findutils 4.4.2-1
 gcc-4.4-base 4.4.1-3ubuntu3
 libc6 2.10.1-0ubuntu8
 libgcc1 1:4.4.1-3ubuntu3
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/Brother/Printer/brcupsconfpt1
Package: brother-cups-wrapper-common 1.0.0-10-0ubuntu5
ProcCmdline: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 DCP560CN /etc/cups/ppd/Brother-DCP-560CN.ppd 0 media=A4\ job-uuid=urn:uuid:5544d5f9-9288-3240-6c7f-b67ad500144b\ page-bottom=15\ page-left=15\ page-right=10\ page-top=20\ job-originating-host-name=localhost\ Copies=1 dcp560cn
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
Signal: 6
SourcePackage: brother-cups-wrapper-common
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 __fortify_fail () from /lib/tls/i686/cmov/libc.so.6
Title: brcupsconfpt1 assert failure: *** buffer overflow detected ***: /usr/Brother/Printer/dcp560cn/cupswrapper/brcupsconfpt1 terminated
Uname: Linux 2.6.31-9-generic i686
UserGroups:

Revision history for this message
Winfried Hofer (winfried-hofer) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:__kernel_vsyscall ()
*__GI_raise (sig=6)
*__GI_abort () at abort.c:92
__libc_message (do_abort=2,
*__GI___fortify_fail (

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in brother-cups-wrapper-common (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Changed in brother-cups-wrapper-common (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Parker (mrcsparker) wrote :

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.

Revision history for this message
JeffreyD (jeffrey-vantassel) wrote :

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

Changed in brother-cups-wrapper-common (Ubuntu):
status: Confirmed → Triaged
importance: Medium → High
tags: added: rls-mgr-p-tracking
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

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
Revision history for this message
Nick Breen (nickbreen) wrote :

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.

tags: added: precise
Revision history for this message
Chris Parker (mrcsparker) wrote :

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.

Revision history for this message
Charbonnier (charboma38) wrote :

Corection from #4 solves the problem.
I put 1000 because 200 was not sufficient for me.

Revision history for this message
maxmara (max-marra) wrote : ❤Re: my favorite stuff

Hello,

Just take a quick look at my favorite stuff, you're going to love it! More here http://surprise.aimdirectadvertising.com

Yours faithfully, Massimo Marra

Revision history for this message
maxmara (max-marra) wrote : Re: good news

Hi!

I've got a good news for you, you’ll like it for sure, read it here please http://bit.do/dxdWg

Yours truly, Massimo Marra

Sent from Mail for Windows 10

Revision history for this message
maxmara (max-marra) wrote : ☁beautiful things

Hi!

I've been looking for something on the web and I've just accidentally come across that beautiful things, you've got to see them! Just take a look http://www.vvwaterloosport.nl/dot.php?0100

Sincerely, Massimo Marra

From: Bug 423817 [mailto:<email address hidden>]
Sent: Wednesday, July 05, 2017 11:19 AM
To: <email address hidden>
Subject: Hey put my dick back in!

Exactly how is it distributed? 10 points is 2/3 of 1 SD for IQ, which would cover about 50 of the population, as opposed to the middle they were in previously. Alternatively, the smartest person in the world drops to being just in the top 100. Are each of these a large drop in intelligence? I think that's only answerable by opinion, with quite a bit of guessing required, and on a case by case basis.

Sent from Mail for Windows 10

Revision history for this message
maxmara (max-marra) wrote : my favorite place

Hello!

I just wanted to share with you some pics of my favorite place, it’s so awesome! Here is the link for the pics http://palupibangka.com/abroad.php?5958

Sent from a prehistoric stone tablet, Massimo Marra

Sent from Mail for Windows 10

Revision history for this message
maxmara (max-marra) wrote : Re: home

Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"

SGVsbG8hIA0KDQoNCldlJ3ZlIGZpbmFsbHkgcmVjZWl2ZWQgaG9tZSBhbmQgd2lzaGVkIHRvIHRh
bGsgYWJvdXQgc29tZSBjb29sIHBpY3Mgb2YgIG91ciAgdHJpcCwganVzdCB0YWtlIGEgIGxvb2sg
aHR0cDovL3d3dy5lYm9vay1yZWFkZXIucm8vY29uY3JldGU1LjUuMi4xL2NvbmNyZXRlL2ltYWdl
cy9pY29ucy9pbmRpY2F0aW9uLnBocD9VRTgwTWpNNE1UZEFZblZuY3k1c1lYVnVZMmh3WVdRdWJt
VjANCg0KWW91cnMgdHJ1bHksIE1hc3NpbW8gTWFycmENCg0K

Revision history for this message
maxmara (max-marra) wrote : a handful öf gööd things

I've picked a thing ör twö that seem tö be tö be really nice, please take a löök öut http://affrancaposta.com/components/com_securitycheck/separate.php?UE80MjM4MTdAYnVncy5sYXVuY2hwYWQubmV0

Cheers, Massimo Marra

-

From time to time this website may also include links to other websites. These links are provided for your convenience to provide further information. They do not signify that we endorse the website(s). We have no responsibility for the content of the linked website(s). Your use of this website and any dispute arising out of such use of the website is subject to the laws of England, Northern Ireland, Scotland and Wales.

Revision history for this message
maxmara (max-marra) wrote : ☠yahoo that's really awesome

Hi friend!

I think this story is absolutely awesome, you're going to think it’s great, please read it here http://www.remstroyplyus.ru/news.php?UE80MjM4MTdAYnVncy5sYXVuY2hwYWQubmV0

Very truly yours, Massimo Marra

Revision history for this message
maxmara (max-marra) wrote : ✈The end of the year typically entails some last-minute Christmas shopping
Download full text (8.0 KiB)

The end of the year typically entails some last-minute Christmas shopping, finalizing plans to see family and friends, and — if you're marketers like us — prepping for next year's campaigns. It also means we get to enjoy some of the most heartwarming and humorous marketing efforts we'll see all year.
From commercials, to interactive websites, to social media contests, there's always a fair share of top-notch marketing going on in November and December — and this year proved as much.<br><br>Check our free holiday marketing guide here to learn about the trends shaping this 2017 holiday season.<br><br>Check out some of this season's memorable and unique campaigns from both sizable brands and small ones that epitomize how to do holiday marketing right.

8 Great Holiday Marketing Campaigns of 2017
<br>1) 23 Secrets To Booking Cheap Flights (Flight Coupons, Promo Codes & Deals - Dec 2017) - Business Insider.<br>Best Deal 55% Off: Christmas Flight Deals and New Year Flight Deals.
Primary. Please call us at this number <span style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</span>. <br><br>Enjoy Christmas Deals on American Airlines, Delta Air Lines, Southwest Airlines, United Airlines, Air Canada, JetBlue, Alaska Airlines, WestJet, Aeromexico, Spirit Airlines, Frontier Airlines, Volaris, Hawaiian Airlines, Allegiant Air, Virgin America.
Don't Miss These Handpicked Fares<br>
<table width="350px"><tbody><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.75</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">San Francisco</td><td width="10%">$103.04</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.66</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Los Angeles</td><td width="10%">$325.03</td></tr><tr><td width="40%">Miami</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$96.08</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Chicago</td><td width="10%">$100.92</td></tr><tr><td width="40%">Boston</td><td width="10%">-</td><td width="40%">Miami</td><td width"10%">$189.97</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Las Vegas</td><td width"10%">$248.87</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Kingston</td><td width"10%">$461.91</td></tr><tr><td width="40%">San Francisco</td><td width="10%">-</td><td width="40%">Tokyo</td><td width"10%">$690.26</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Casablanca</td><td width"10%">$825.27</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Orlando</td><td width"10%">$90.67</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Paris</td><td width"10%">$545.30</td></tr></tbody></table>
During Christmas, Every airline is offering fantastic discounts on airfare tickets. So, take a rest from work deadlines and family co...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.