ref: 758d064516dda256d568aadf7c3cbf1eec658bd2
parent: fd420e071bac2d80769f495691819952d1481db0
parent: 3cc719ca0d502730317683167bde87a11aaab416
author: Ethan Hugg <ethanhugg@gmail.com>
date: Thu Dec 12 10:08:28 EST 2013
Merge pull request #23 from 0x09/master Fix typo in strnlen fallback
--- a/codec/decoder/core/src/utils.cpp
+++ b/codec/decoder/core/src/utils.cpp
@@ -217,7 +217,7 @@
// implement strnlen by ourself
#if 1
- return strlen (pString); //confirmed_safe_unsafe_usage
+ return strlen (kpString); //confirmed_safe_unsafe_usage
#else
const str_t* kpSrc;
for (kpSrc = kpString; iMaxlen-- && *kpSrc != '\0'; ++kpSrc)