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

Bug 418161

Summary: media-libs/mesa-8.0.3 test causes buffer overflow
Product: Gentoo Linux Reporter: Markus Oehme <bureau>
Component: HardenedAssignee: Gentoo X packagers <x11>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: build log
emerge --info

Description Markus Oehme 2012-05-29 17:41:34 UTC
Created attachment 313553 [details]
build log

On my hardened ~amd64 machine with gcc-4.7.0 I see the following buffer overflow warning during the test phase of merging mesa.

[ RUN      ] glXCreateContextAttribARB_test.NULL_display_returns_None
*** buffer overflow detected ***: glx_unittest - terminated
glx_unittest: buffer overflow attack in function <unknown> - terminated
Report to
/bin/sh: line 5: 13934 Killed                  ${dir}$tst
FAIL: glx_unittest
Comment 1 Markus Oehme 2012-05-29 17:41:58 UTC
Created attachment 313555 [details]
emerge --info
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-05-29 21:31:15 UTC
As this problem is probably not Gentoo-specific, it would be good if you also open a report upstream at (if no report already exists) and add the URL to this bug.
Comment 3 Markus Oehme 2012-06-02 19:02:24 UTC
I posted the bug upstream at [1].

Comment 4 Matt Turner gentoo-dev 2015-02-21 18:54:15 UTC
Fixed since 8.0.4.