View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014882 | CMake | CPack | public | 2014-04-16 12:47 | 2014-10-06 10:33 | ||||
Reporter | Orion Poplawski | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Linux | OS | Fedora | OS Version | 20 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||||||
Summary | 0014882: cmake: strlen(): cpack killed by SIGSEGV | ||||||||
Description | Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1088321 [^] Apparently std::string += NULL results in a segfault. No checks are done in cmArchiveWrite that archive_error_string() does not return NULL: This is where this is happening (line 294 in 2.8.12.2): if(archive_write_data(this->Archive, buffer, nnext) != nnext_s) { this->Error = "archive_write_data: "; this->Error += archive_error_string(this->Archive); return false; } We're running with libarchive 3.1.2 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035729) Brad King (manager) 2014-04-16 13:14 |
Ugh, thanks. This should fix it: cmArchiveWrite: Handle NULL error string http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b508de59 [^] |
(0035736) Brad King (manager) 2014-04-17 10:09 |
The change in 0014882:0035729 has been merged to the 'release' branch in preparation for 3.0.0-rc4. |
(0036980) Robert Maynard (manager) 2014-10-06 10:33 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-04-16 12:47 | Orion Poplawski | New Issue | |
2014-04-16 13:14 | Brad King | Note Added: 0035729 | |
2014-04-17 10:09 | Brad King | Note Added: 0035736 | |
2014-04-17 10:09 | Brad King | Assigned To | => Brad King |
2014-04-17 10:09 | Brad King | Status | new => resolved |
2014-04-17 10:09 | Brad King | Resolution | open => fixed |
2014-04-17 10:09 | Brad King | Fixed in Version | => CMake 3.0 |
2014-04-17 10:09 | Brad King | Target Version | => CMake 3.0 |
2014-10-06 10:33 | Robert Maynard | Note Added: 0036980 | |
2014-10-06 10:33 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |