Task #130575 - fixed.err

back to task #130575
download
Error: CPPCHECK_WARNING (CWE-476):
LibRaw-0.22.1/libraw/libraw_alloc.h:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mems
#   35|       size_t alloc_sz = LIBRAW_MSIZE * sizeof(void *);
#   36|       mems = (void **)::malloc(alloc_sz);
#   37|->     memset(mems, 0, alloc_sz);
#   38|     }
#   39|     ~libraw_memmgr()