| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0014176 | CMake | CMake | public | 2013-05-28 10:34 | 2013-11-04 09:33 | ||||
| Reporter | YYrhs | ||||||||
| Assigned To | Brad King | ||||||||
| Priority | normal | Severity | trivial | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake 2.8.11 | ||||||||
| Target Version | CMake 2.8.11.1 | Fixed in Version | CMake 2.8.11.1 | ||||||
| Summary | 0014176: passing long paths via env var CMAKE_LIBRARY_PATH or CMAKE_INCLUDE_PATH makes cmake segfault | ||||||||
| Description | I passed maybe 20 paths separated by ' ' instead of ':' by accident. The result was cmSystemTools::FileIsDirectory segfaulting because memcpy does not check that the strlen(name) is smaller than MAX_PATH. The fix is trivial: print a warning and return false in that case or such | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0033145) Brad King (manager) 2013-05-28 11:38 |
Ugh, that was inherited from some legacy code. Thanks for reporting, will fix. |
|
(0033152) Brad King (manager) 2013-05-30 08:59 |
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=045d6ae0 [^] |
|
(0034366) Robert Maynard (manager) 2013-11-04 09:33 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2013-05-28 10:34 | YYrhs | New Issue | |
| 2013-05-28 11:38 | Brad King | Note Added: 0033145 | |
| 2013-05-28 11:38 | Brad King | Assigned To | => Brad King |
| 2013-05-28 11:38 | Brad King | Status | new => assigned |
| 2013-05-30 08:59 | Brad King | Note Added: 0033152 | |
| 2013-05-30 08:59 | Brad King | Status | assigned => resolved |
| 2013-05-30 08:59 | Brad King | Resolution | open => fixed |
| 2013-05-30 08:59 | Brad King | Fixed in Version | => CMake 2.8.12 |
| 2013-05-30 08:59 | Brad King | Target Version | => CMake 2.8.12 |
| 2013-06-07 15:16 | Robert Maynard | Fixed in Version | CMake 2.8.12 => CMake 2.8.11.1 |
| 2013-06-07 15:16 | Robert Maynard | Target Version | CMake 2.8.12 => CMake 2.8.11.1 |
| 2013-11-04 09:33 | Robert Maynard | Note Added: 0034366 | |
| 2013-11-04 09:33 | Robert Maynard | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |