Uninitialized variable in gpsee_XDRNewFile
Closed this issue · 1 comments
GoogleCodeExporter commented
GCC claims that 'fopen_mode' may be used uninitialized. A quick glance
suggest that it's true.
The switch statement should handle the default value properly; sending a
bad mode should result in an error, not random memory access.
Original issue reported on code.google.com by wes%page...@gtempaccount.com
on 20 May 2010 at 8:36
GoogleCodeExporter commented
Fixed by revision aa37442fcb76
Original comment by donny.vi...@gmail.com
on 21 May 2010 at 5:24
- Changed state: Fixed