summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-11-21 12:37:00 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-11-21 12:37:00 +0000
commit0a61b71f73556592af6e1f127a42a27d48564b72 (patch)
tree52b54a1a87ffe8f714ebf9b0ebe13151661b518a /utils
parent2527ebff3dfa219fc2abe92c136e11c29f5064fc (diff)
downloadrockbox-0a61b71f73556592af6e1f127a42a27d48564b72.tar.gz
rockbox-0a61b71f73556592af6e1f127a42a27d48564b72.tar.bz2
rockbox-0a61b71f73556592af6e1f127a42a27d48564b72.zip
Fix segmentation fault when no key was found.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19164 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils')
-rw-r--r--utils/zenutils/source/shared/updater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/zenutils/source/shared/updater.cpp b/utils/zenutils/source/shared/updater.cpp
index 6f200e3da4..8db72d0c4c 100644
--- a/utils/zenutils/source/shared/updater.cpp
+++ b/utils/zenutils/source/shared/updater.cpp
@@ -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)