MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001774 | Zandronum | [All Projects] Bug | public | 2014-04-07 08:28 | 2018-09-30 21:36 |
Reporter | Edward-san | ||||
Assigned To | Torr Samaho | ||||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | Linux | OS Version | ||
Product Version | 1.2 | ||||
Target Version | 1.3 | Fixed in Version | 1.3 | ||
Summary | 0001774: Buffer overflow crash in release build compiled with GCC 4.8 | ||||
Description | If zandronum is compiled with GCC 4.8, the release build will crash when trying to run a server. The crash happens in src/parsecontext.cpp, line 160:
It happens because GCC 4.8 makes wrong assumptions regarding unions with char arrays (in the code FParseToken is an union with two char arrays); it was fixed in GCC 4.9 (see PR54570 ). This bug showed up also in zdoom and was fixed with this commit. Applying the patch on the zandronum code makes the crash go away. | ||||
Steps To Reproduce | - Compile Zandronum with GCC 4.8 - Run 'zandronum -iwad doom2.wad -host' | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-04-07 08:28 | Edward-san | New Issue | |||
2014-04-07 16:24 | Edward-san | OS | => Linux | ||
2014-04-07 16:24 | Edward-san | Product Version | => 1.2 | ||
2014-04-07 20:54 | Torr Samaho | Note Added: 0008515 | |||
2014-04-07 20:54 | Torr Samaho | Assigned To | => Torr Samaho | ||
2014-04-07 20:54 | Torr Samaho | Status | new => needs testing | ||
2014-04-07 22:06 | Dusk | View Status | private => public | ||
2014-07-20 16:04 | Edward-san | Note Added: 0010012 | |||
2014-07-20 16:04 | Edward-san | Status | needs testing => resolved | ||
2014-07-20 16:04 | Edward-san | Fixed in Version | => 1.3 | ||
2014-07-20 16:04 | Edward-san | Resolution | open => fixed | ||
2018-09-30 21:36 | Blzut3 | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|