Bug 10730 - duplicate call to __set_errno in __initstate_r
Summary: duplicate call to __set_errno in __initstate_r
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.10
: P3 minor
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-04 14:38 UTC by Steve Ward
Modified: 2014-07-01 06:42 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
Remove duplicate call to __set_errno in __initstate_r. (205 bytes, patch)
2009-10-04 14:40 UTC, Steve Ward
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Ward 2009-10-04 14:38:55 UTC
There is a duplicate call to __set_errno in function __initstate_r in
file random_r.c.

After the label "fail", there is already a call to __set_errno.
Comment 1 Steve Ward 2009-10-04 14:40:03 UTC
Created attachment 4251 [details]
Remove duplicate call to __set_errno in __initstate_r.
Comment 2 Ulrich Drepper 2009-10-08 20:47:24 UTC
Fixed in git.