Message109465
| Author |
csernazs |
| Recipients |
csernazs, skrah |
| Date |
2010年07月07日.09:48:02 |
| SpamBayes Score |
5.264647e-05 |
| Marked as misclassified |
No |
| Message-id |
<1278496084.18.0.689990648205.issue9185@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
You are right, but this bug could be easily avoided by using one of the suggested solutions. In my experience a fix sized buffer (whose size is MAXLPATHLEN - or 1024 if not defined) is usually passed to getcwd and the errno is propagated back to the caller if the result is NULL.
While getcwd() is buggy on solaris I think it's not the correct behavior from python to get to an infinite loop and eat up the memory. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月07日 09:48:04 | csernazs | set | recipients:
+ csernazs, skrah |
| 2010年07月07日 09:48:04 | csernazs | set | messageid: <1278496084.18.0.689990648205.issue9185@psf.upfronthosting.co.za> |
| 2010年07月07日 09:48:03 | csernazs | link | issue9185 messages |
| 2010年07月07日 09:48:02 | csernazs | create |
|