View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027410 | Community | OCCT:Data Exchange | public | 2016-04-21 14:25 | 2024-09-29 22:17 |
Reporter | FredK | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | verified | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2015 | ||
Product Version | 6.9.0 | ||||
Summary | 0027410: Data Exchange, Iges Import - Possible resource leak when parsing an invalid file | ||||
Description | If an invalid (i.e. non-IGIS) file is being processed by igesread(), it may not close the input FILE* (lefic). This occurs when the initial call to igres_lire() returns -1; in this case, i0 remains 0 and 'if (i0 == 0) return -1;' will be executed without ever closing lefic. | ||||
Steps To Reproduce | Attempt to load a non-IGES file (for example, some .cpp file) - it will correctly be rejected but the file will remain opened for the duration of the application. | ||||
Additional information and documentation updates | Patch attached to fix the problem. | ||||
Tags | No tags attached. | ||||
Test case number | none | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-21 14:25 | FredK | New Issue | |
2016-04-21 14:25 | FredK | Assigned To | => gka |
2016-04-21 14:25 | FredK | File Added: occ-iges-file-leak-patch.diff | |
2016-04-22 13:58 | Timo | Note Added: 0053501 | |
2016-06-15 15:47 |
|
Assigned To | gka => ika |
2016-06-15 15:47 |
|
Status | new => assigned |
2023-09-29 17:55 | ika | Assigned To | ika => |
2024-09-24 19:34 | dpasukhi | Assigned To | => dkulikov |
2024-09-25 12:57 | dpasukhi | Summary | Possible resource leak when parsing an invalid IGES file => Data Exchange, Iges Import - Possible resource leak when parsing an invalid file |
2024-09-25 13:04 | dpasukhi | Assigned To | dkulikov => bugmaster |
2024-09-25 13:04 | dpasukhi | Status | assigned => resolved |
2024-09-25 13:04 | dpasukhi | Status | resolved => reviewed |
2024-09-25 13:04 | dpasukhi | Note Added: 0116765 | |
2024-09-29 22:17 | dpasukhi | Status | reviewed => verified |
2024-09-29 22:17 | dpasukhi | Resolution | open => fixed |
2024-09-29 22:17 | dpasukhi | Test case number | => none |