Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use after free (realloc) in ParseText.cpp
Static analysis detected a use after free (realloc). The member variable should use the new string address, and it is assigned the new string address after the usage. This looks to be a copy/paste error sometime in the past. In addition, follow the stated convention and null terminate the string, just in case. (cherry picked from commit df4aef6) Signed-off-by: Stuart Morgan <smorgan@mythtv.org> Fixes #11556
- Loading branch information