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

Bug 245914

Summary: sys-libs/glibc-2.8 - stdio.h has wrong redirect for vscanf() in c99 mode
Product: Gentoo Linux Reporter: Marek Sapota <marek>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marek Sapota 2008-11-07 00:10:48 UTC
glibc-2.8_p20080602 installs wrong stdio.h header and vscanf function fails with segfault if source using this header is compiled with -std=c99 option.

On 478 line in /usr/include/stdio.h there is a mistake and there is vfscanf where should be vscanf.

Reproducible: Always
Comment 2 SpanKY gentoo-dev 2008-12-07 22:49:32 UTC
fixed in glibc-2.8_p20080602-r1 ... glibc-2.9 already includes the fix

http://sources.gentoo.org/gentoo/src/patchsets/glibc/2.8/1050_all_glibc-2.8-stdio-redirect.patch?rev=1.1