Summary: | __initstate_r uses uninitialized state | ||
---|---|---|---|
Product: | glibc | Reporter: | Roland McGrath <roland> |
Component: | libc | Assignee: | Roland McGrath <roland> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | ||
Version: | 2.3.5 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 852 |
Description
Roland McGrath
2005-07-18 02:38:19 UTC
Subject: Bug 1090 CVSROOT: /cvs/glibc Module name: libc Branch: glibc-2_3-branch Changes by: roland@sources.redhat.com 2005-07-18 02:39:14 Modified files: string : Makefile stdlib : random_r.c Added files: string : tst-strfry.c Log message: 2005-04-12 Ulrich Drepper <drepper@redhat.com> [BZ #1090] * stdlib/random_r.c (__initstate_r): Don't use non-existing state. * string/tst-strfry.c: New file. * string/Makefile (tests): Add tst-strfry. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/string/tst-strfry.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=NONE&r2=1.1.4.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/string/Makefile.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.65&r2=1.65.2.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdlib/random_r.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.18.4.1&r2=1.18.4.2 This fix is now in the 2.3 branch as well as the trunk, and the problem should be resolved as of the 2.3.6 release. |