libntoh icon indicating copy to clipboard operation
libntoh copied to clipboard

function build_datagram does not handle allocation failure

Open lorenzodavid opened this issue 7 years ago • 1 comments

In build_datagram (at ipv4defrag.c:225), there's no return value check upon a calloc.

lorenzodavid avatar Oct 31 '17 00:10 lorenzodavid

Similar problems can be found in other places as well.

lorenzodavid avatar Oct 31 '17 00:10 lorenzodavid