Changeset d390b7abe209b9b69a3bbead856c8c442c360204
- Timestamp:
- 08/09/11 16:45:44
(2 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1312908344 -0400
- git-parent:
[d8f4ec43e5aef8c7ab28a5dc19593e3797461a5c]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1312908344 -0400
- Message:
inverted logic could cause stack smash on dir scan
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4a653ea |
rd390b7a |
|
| 1460 | 1460 | size = pathconf(path, _PC_NAME_MAX); |
|---|
| 1461 | 1461 | #endif |
|---|
| 1462 | | size = MIN(size, PATH_MAX + 128); |
|---|
| | 1462 | size = MAX(size, PATH_MAX + 128); |
|---|
| 1463 | 1463 | de = alloca(size); |
|---|
| 1464 | 1464 | root = opendir(path); |
|---|