Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 349339

Summary: sys-devel/bc: fix uninitialized memory usage
Product: Gentoo Linux Reporter: David Flogeras <dflogeras2>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New ebuild for sys-devel/bc
patch referenced by updated ebuild
diff of current stable ebuild to the one submitted here (if needed)

Description David Flogeras 2010-12-22 03:05:22 UTC
A the author of a site I follow identified a potential problem with the sys-devel/bc package (http://www.pixelbeat.org/programming/oss_bug_flow.html), and I am submitting a patch and ebuild to fix this on Gentoo

Reproducible: Always
Comment 1 David Flogeras 2010-12-22 03:06:12 UTC
Created attachment 257730 [details]
New ebuild for sys-devel/bc
Comment 2 David Flogeras 2010-12-22 03:06:33 UTC
Created attachment 257732 [details, diff]
patch referenced by updated ebuild
Comment 3 David Flogeras 2010-12-22 03:08:39 UTC
Created attachment 257734 [details, diff]
diff of current stable ebuild to the one submitted here (if needed)
Comment 4 SpanKY gentoo-dev 2010-12-24 17:56:03 UTC
you've sent this to the bc author already ?
Comment 5 David Flogeras 2010-12-26 16:42:33 UTC
The author of the blog where I found it had submitted the patch upstream, but I don't think they release often and figured it could be patched in gentoo until they did.  I also have since discovered gentoo bug #264889 which has another small fix that might be rolled in if you decide to patch ours.  Your call :)
Comment 6 SpanKY gentoo-dev 2010-12-26 18:49:39 UTC
i just wanted to make sure it has been sent upstream
Comment 7 Pádraig Brady 2010-12-26 23:09:37 UTC
I'm the blog author. I sent it upstream, and it's rolled in.
Unfortunately this is hidden due to no public repo or mailing list.
Anyway I'm very impressed with gentoo fixing this so quickly :)