MantisBT - CMake | |||||
| View Issue Details | |||||
| 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 | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||