Author dw
Recipients dw
Date 2019-03-13.03:27:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552447660.04.0.72531550499.issue36279@roundup.psfhosted.org>
In-reply-to
Content
Not sure if this is worth reporting..

p = os.popen('sleep 1234')
os.wait3(os.WNOHANG)
os.wait3(os.WNOHANG)
os.wait3(os.WNOHANG)

Notice struct rusage return value. When wait3() succeeds on Linux, but no child was waiting to be reaped, &ru is not updated by the kernel, therefore it is passed uninitialized back to the user, essentially leaking a little bit of stack memory
History
Date User Action Args
2019-03-13 03:27:40dwsetrecipients: + dw
2019-03-13 03:27:40dwsetmessageid: <1552447660.04.0.72531550499.issue36279@roundup.psfhosted.org>
2019-03-13 03:27:40dwlinkissue36279 messages
2019-03-13 03:27:39dwcreate