tianqi22 / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Fix memory handling bugs #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

attached are there patches which fix bugs found by cppcheck.

There's also one more I din't fix yet as I'm unsure about the correct fix:
[plugins/gpsgrid/table.h:120]: (error) Uninitialized variable: newEntry
[plugins/gpsgrid/table.h:135]: (error) Uninitialized variable: newEntry

-> The code in questions calls the size() member function
   on an uninitialized class instance. Should crash...

Hopefully there will be a monav 0.4 release sooner or later,
I still actively use it on the n900 :)

Cheers,
Thomas

Original issue reported on code.google.com by t...@simonv.com on 29 May 2013 at 7:04

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, will apply soon.

Original comment by veaac.fd...@gmail.com on 3 Jun 2013 at 3:00