Commit 32a73f9e authored by LuisAntonRebollo's avatar LuisAntonRebollo

Fix Dereference of null pointer on String::operator+=.

parent 2142d452
......@@ -760,7 +760,7 @@ String& String::operator=(const String &src)
String& String::operator+=(const StringChar *src)
if( src == NULL && !*src )
if( src == NULL || !*src )
return *this;
// Append the given string into a new string
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment