]> diplodocus.org Git - nmh/commit
Clang's static analyzer reports a potential NULL pointer deref.
authorLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 10 Apr 2014 10:07:16 +0000 (03:07 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 10 Apr 2014 10:07:16 +0000 (03:07 -0700)
commitd4288570b9513c706907deb882ec6a15e218d0e3
treeaafb04f2228074c9a60dc56d3b873271f2be068d
parentfb374177e49c56f2d119e770206bb721713af83c
Clang's static analyzer reports a potential NULL pointer deref.
This is a "shouldn't happen" case, so I have added an assert
to quell the warning, and catch the failure in the off chance
we do get here with last == NULL.
uip/new.c