[Libreoffice] [PATCH] possible null-dereferencing found by cppcheck

Tor Lillqvist tlillqvist at novell.com
Tue Jan 18 06:45:04 PST 2011


>> Or am I missing something... 
> Yes, we have a miserable trap of fall-through:

No, I did see the fall-through. But if pDlg is NULL (a bit earlier), we don't enter the block that contains the switch with the fall-through, where the other (hopefully only other possible) case does set pArgs.

--tml




More information about the LibreOffice mailing list