Possible bug in file ssg / ssgLoadPCX.cxx line 99
Brought to you by:
sjbaker
While experimenting with a novel static analysis technique in CodeSonar, we noticed the following potential problem at the next location:
FilePath: ssg / ssgLoadPCX.cxx
Function: ssgLoadPCX
Line number: 99
buffer points to the memory locattion allocated to record the content of some file. However, it is changed in line 77. Thus the "deallocation" starts at a wrong address.
Very similar in line 146 (where probably alfaBuffer should have been used).
Thanks,
Petru-Florin Mihancea