Bug 469 - test for failure on socketpair()
test for failure on socketpair()
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.4
PC SCO Unixware
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-18 23:09 MST by Tim Rice
Modified: 2011-03-03 09:55 MST (History)
0 users

See Also:


Attachments
test for failure on socketpair() (568 bytes, application/octet-stream)
2011-02-18 23:09 MST, Tim Rice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Rice 2011-02-18 23:09:06 MST
Created attachment 301 [details]
test for failure on socketpair()

SVR5 systems return non 0 on success so we need to test for failure (-1) on sockepair calls.
Comment 1 Todd C. Miller 2011-02-19 08:14:06 MST
Thanks, this will be fixed in sudo 1.7.5
Comment 2 Todd C. Miller 2011-03-03 09:55:00 MST
Fixed in sudo 1.7.5 and 1.8.0.