Fixed out of bounds during assert message sending

This commit is contained in:
Snaipe 2016-02-22 16:56:00 +01:00
parent ec5c8958cb
commit de5ec40466

View file

@ -105,6 +105,7 @@ CR_END_C_API
if (cr_fmt_msg__ && cr_fmt_msg__[1]) { \
MsgVar = cr_fmt_msg__ + 1; \
cr_shifted__ = 1; \
--cr_msglen__; \
CR_STDN free(cr_def_msg__); \
} else { \
MsgVar = cr_def_msg__; \