MantisBT - Doomseeker | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0003672 | Doomseeker | [All Projects] Bug | public | 2019-06-28 08:35 | 2019-07-30 10:15 |
Reporter | WubTheCaptain | ||||
Assigned To | Zalewa | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | 1.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0003672: Zeroing memory with memset() in SRB2 plugin may get optimized out by the compiler | ||||
Description | Using explicit_bzero() or memset_s() (with __STDC_LIB_EXT1__) could prevent the compiler from optimizing zeroing memory away in the SRB2 plugin. | ||||
Steps To Reproduce | src/plugins/srb2/srb2masterclient.cpp: memset(this, 0, sizeof(Header)); src/plugins/srb2/srb2server.cpp: memset(this, 0, sizeof(Header)); src/plugins/srb2/srb2server.cpp: memset(this, 0, sizeof(D)); src/plugins/srb2/srb2server.cpp: memset(this, 0, sizeof(D)); | ||||
Additional Information | 'https://man.openbsd.org/explicit_bzero.3 [^]' 'https://media.ccc.de/v/35c3-9788-memsad [^]' 'https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events/9788.html [^]' | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-06-28 08:35 | WubTheCaptain | New Issue | |||
2019-06-28 08:35 | WubTheCaptain | Note Added: 0020843 | |||
2019-06-30 10:19 | Zalewa | Note Added: 0020848 | |||
2019-06-30 11:26 | WubTheCaptain | Assigned To | => WubTheCaptain | ||
2019-06-30 11:26 | WubTheCaptain | Status | new => feedback | ||
2019-06-30 11:26 | WubTheCaptain | Assigned To | WubTheCaptain => Zalewa | ||
2019-06-30 11:27 | WubTheCaptain | Note Added: 0020854 | |||
2019-06-30 11:27 | WubTheCaptain | Status | feedback => assigned | ||
2019-06-30 11:38 | Zalewa | Note Added: 0020857 | |||
2019-06-30 11:38 | Zalewa | Status | assigned => resolved | ||
2019-06-30 11:38 | Zalewa | Fixed in Version | => 1.3 | ||
2019-06-30 11:38 | Zalewa | Resolution | open => no change required | ||
2019-06-30 11:43 | WubTheCaptain | Fixed in Version | 1.3 => | ||
2019-07-30 10:15 | WubTheCaptain | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|