libmgn_display.c line 7003: bSourceRGBA16, 6916 pbuf, libmng_chunk_io.c line 8503: iBuflen, line 2902: iBufSize, line 2718: iBufsize, line 8444: iRawlen might be uninitialized. 6991 isourcerowsize ,7001 isourcesamples 2750 itextlen, 8444 ireallen
pMAGN in mgn_create_ani_magn() might be NULL due to malloc() fail, and then is dereferenced.
npmngplg.c lines 1142ff. has problem due to operator preference (&& has higher priority than comparison).
npmgnplc.c in NPP_Write() uses realloc with checking for NULL and saving the old pointer, potentially leaking memory.
In CopyToClipboard() it calls GlobalLock on hClip, which might be NULL if the GlobalAlloc fails.