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:
parent
2527ebff3d
commit
0a61b71f73
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue