Tolution / monitores

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

Invalid Pointer in GetProcessPath() (addons.h / 0.5) #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. An invalid uninitialized pointer gets passed to sprintf() in 
GetProcessPath(), char *sExePath; should be something like "static char 
sExePath[260];", I would also suggest to replace sprintf() with snprintf() for 
this case.

What version of the product are you using? On what operating system?
0.5

Original issue reported on code.google.com by t.poecht...@gmail.com on 5 Aug 2012 at 12:16

GoogleCodeExporter commented 8 years ago
Thanks for the review. I'll make the change.

Original comment by cumakt on 20 Sep 2012 at 3:59