IBM / mini-era

Mini-ERA is a simplified still-representative version of the main ERA workload.
14 stars 15 forks source link

The return value of 'sscanf()' should be checked #5

Closed QiAnXinCodeSafe closed 4 years ago

QiAnXinCodeSafe commented 4 years ago

https://github.com/IBM/mini-era/blob/d280ae977d2342a9394b185e6a92b5dabf398cdd/read_trace.c#L56

jdwellman commented 4 years ago

This has been corrected (added checks, etc. to all *scanf type routines in main, kernel_api, read_trace and sim_environ) in this commit: https://github.com/IBM/mini-era/commit/78a3414ad084b422f51c516d08cd840b425c666f