Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8218 closed defect (invalid)

tr_wait() may call usleep(3) with invalid argument

Reported by: tnn@… Owned by:
Priority: normal Milestone:
Component: general Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

tr_wait() may call usleep(3) with an argument larger than 999999. This operation has undefined behavior. The attached diff corrects the problem. Original problem report: http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=41248

Attachments (1)

patch-ad.txt (463 bytes ) - added by tnn@… 16 years ago.

Download all attachments as: .zip

Change History (3)

by tnn@…, 16 years ago

Attachment: patch-ad.txt added

in reply to:  description comment:1 by tnn@…, 16 years ago

wrong trac, my apologies.

comment:2 by tnn@…, 16 years ago

Resolution: invalid
Status: newclosed

Closing invalid ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.