Showing the changes to codec/decoder/core/src/utils.cpp (1 of 1 file). Show all
Unified · Split
| @@ -217,7 +217,7 @@ int32_t WelsStrnlen (const str_t* kpString, int32_t iMaxlen) { · 216 unmodified lines | ||
| 217 | 217 | // implement strnlen by ourself |
| 218 | 218 | |
| 219 | 219 | #if 1 |
| 220 | − return strlen (pString); //confirmed_safe_unsafe_usage | |
| 220 | + return strlen (kpString); //confirmed_safe_unsafe_usage | |
| 221 | 221 | #else |
| 222 | 222 | const str_t* kpSrc; |
| 223 | 223 | for (kpSrc = kpString; iMaxlen-- && *kpSrc != '\0'; ++kpSrc) |