Fix segmentation fault when no key was found.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19164 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-11-21 12:37:00 +00:00
parent 2527ebff3d
commit 0a61b71f73

View file

@ -45,7 +45,7 @@ const char* zen::find_firmware_key(const byte* buffer, size_t len)
} }
} }
} }
return NULL; return "";
} }
dword zen::find_firmware_offset(byte* buffer, size_t len) dword zen::find_firmware_offset(byte* buffer, size_t len)