shithub: openh264

Download patch

ref: 3cc719ca0d502730317683167bde87a11aaab416
parent: fd420e071bac2d80769f495691819952d1481db0
author: tab <[email protected]>
date: Thu Dec 12 12:56:29 EST 2013

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)