Menu

#82 Possible bug in file src/Methods.c line 1404

v1.0_(example)
open
nobody
None
5
2019-02-11
2019-02-11
No

While experimenting with a novel static analysis technique in CodeSonar, we noticed the following potential problem at the next location:

FilePath: src/Methods.c
Function: xbaeModifyVerifyCB
Line number: 1404

In that line the call_data.prev_text pointer is dealocated. However, it may point at that line to the "" literal as set 4 lines before, under a special condition. Thus, this may result in dealocating a non-heap address.

Thanks,
Petru-Florin Mihancea

Discussion


Log in to post a comment.

MongoDB Logo MongoDB