Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
passed in. (The assert won't prevent this in non-debug builds).
Showing
Please
register
or
sign in
to comment
passed in. (The assert won't prevent this in non-debug builds).