Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245914 - sys-libs/glibc-2.8 - stdio.h has wrong redirect for vscanf() in c99 mode
Summary: sys-libs/glibc-2.8 - stdio.h has wrong redirect for vscanf() in c99 mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 00:10 UTC by Marek Sapota
Modified: 2008-12-07 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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