Defend against null from FE_FindFileExt in CRDFImage::ProcessIcon (hyatt).
git-svn-id: svn://10.0.0.236/trunk@8311 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3107038651
commit
f2a071f8f4
@ -235,6 +235,7 @@ static BOOL ValidNSBitmapFormat(char* extension)
|
||||
void CRDFImage::ProcessIcon()
|
||||
{
|
||||
char *ext = FE_FindFileExt(pUrl);
|
||||
if (!ext) return;
|
||||
if (ValidNSBitmapFormat(ext))
|
||||
{
|
||||
// If there is no context, create one for processing the image.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user