MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015738 | CMake | CMake | public | 2015-09-12 12:37 | 2016-02-01 09:10 |
| Reporter | Thomas Klausner | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86_64 | OS | NetBSD | OS Version | 7.99.22 |
| Product Version | CMake 3.3 | ||||
| Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | ||
| Summary | 0015738: printw() should use format string | ||||
| Description | Multiple files (in Source/CursesDialog/*.cxx) use the printw() function without a format string, i.e. printw(some_variable); This is unsafe; if some_variable contains "%s" or similar, you have problems. Please use the printw("%s", some_variable); idiom instead. | ||||
| Steps To Reproduce | Code inspection. | ||||
| Additional Information | The attached patch fixes this issue. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5522/printw.diff | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-09-12 12:37 | Thomas Klausner | New Issue | |||
| 2015-09-12 12:37 | Thomas Klausner | File Added: printw.diff | |||
| 2015-09-14 09:39 | Brad King | Note Added: 0039413 | |||
| 2015-09-14 09:52 | Brad King | Note Added: 0039414 | |||
| 2015-09-14 09:52 | Brad King | Assigned To | => Brad King | ||
| 2015-09-14 09:52 | Brad King | Status | new => resolved | ||
| 2015-09-14 09:52 | Brad King | Resolution | open => fixed | ||
| 2015-09-14 09:52 | Brad King | Fixed in Version | => CMake 3.4 | ||
| 2015-09-14 09:52 | Brad King | Target Version | => CMake 3.4 | ||
| 2015-09-16 08:44 | Brad King | Note Added: 0039428 | |||
| 2016-02-01 09:10 | Robert Maynard | Note Added: 0040406 | |||
| 2016-02-01 09:10 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||