This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rosslagerwall
Recipients eric.araujo, mrts, pitrou, rosslagerwall, schmir, tarek, teamnoir
Date 2011-01-05.16:58:16
SpamBayes Score 0.02173231
Marked as misclassified No
Message-id <1294246698.05.0.388210070558.issue4489@psf.upfronthosting.co.za>
In-reply-to
Content
Updated patch removes the race condition. Since an open follows symlinks, you can't just fstat the fd to see if it is a link. I followed the following to overcome this:
https://www.securecoding.cert.org/confluence/display/seccode/POS35-C.+Avoid+race+conditions+while+checking+for+the+existence+of+a+symbolic+link
History
Date User Action Args
2011-01-05 16:58:18rosslagerwallsetrecipients: + rosslagerwall, pitrou, schmir, tarek, eric.araujo, mrts, teamnoir
2011-01-05 16:58:18rosslagerwallsetmessageid: <1294246698.05.0.388210070558.issue4489@psf.upfronthosting.co.za>
2011-01-05 16:58:16rosslagerwalllinkissue4489 messages
2011-01-05 16:58:16rosslagerwallcreate