Task #971 - fixed.err
back to task #971download
Error: CLANG_WARNING: pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/hotplug_libudev.c:256:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'CFBundleName' # 254| } # 255| } # 256|-> bundleRelease(&plist); # 257| } # 258| } Error: GCC_ANALYZER_WARNING (CWE-476): pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/simclist.c: scope_hint: In function 'list_delete_range' pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/simclist.c:601:15: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' # 599| # 600| tmp = list_findpos(l, posstart); /* first el to be deleted */ # 601|-> lastvalid = tmp->prev; /* last valid element */ # 602| # 603| midposafter = (l->numels-1-numdel)/2; Error: GCC_ANALYZER_WARNING (CWE-476): pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/simclist.c: scope_hint: In function ‘list_delete_range’ pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/simclist.c:601:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 599| # 600| tmp = list_findpos(l, posstart); /* first el to be deleted */ # 601|-> lastvalid = tmp->prev; /* last valid element */ # 602| # 603| midposafter = (l->numels-1-numdel)/2; Error: GCC_ANALYZER_WARNING (CWE-401): pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/winscard_clnt.c: scope_hint: In function 'SCardAddHandle' pcsc-lite-2.0.3-build/pcsc-lite-2.0.3/src/winscard_clnt.c:3452:12: warning[-Wanalyzer-malloc-leak]: leak of 'newChannelMap' # 3450| # 3451| lrv = list_append(¤tContextMap->channelMapList, newChannelMap); # 3452|-> if (lrv < 0) # 3453| { # 3454| free(newChannelMap->readerName);