12 Sep
2009
12 Sep
'09
10:38 p.m.
2009/9/13 Nicolas Le Cam <niko.lecam(a)gmail.com>:
Last one is also a false positive, it's just two pointers being subtracted to retrieve an offset.
That's not the reason why it's a false positive. Without context that line does look like a NULL-dereference (dmW is dereferenced to get the first pointer before any NULL checking). However it's in a static function that is called in two places, both of which already check the pointer being dereferenced.