Message109465
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. |
|
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 | |
|