Fixed out of bounds during assert message sending
This commit is contained in:
parent
ec5c8958cb
commit
de5ec40466
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ CR_END_C_API
|
||||||
if (cr_fmt_msg__ && cr_fmt_msg__[1]) { \
|
if (cr_fmt_msg__ && cr_fmt_msg__[1]) { \
|
||||||
MsgVar = cr_fmt_msg__ + 1; \
|
MsgVar = cr_fmt_msg__ + 1; \
|
||||||
cr_shifted__ = 1; \
|
cr_shifted__ = 1; \
|
||||||
|
--cr_msglen__; \
|
||||||
CR_STDN free(cr_def_msg__); \
|
CR_STDN free(cr_def_msg__); \
|
||||||
} else { \
|
} else { \
|
||||||
MsgVar = cr_def_msg__; \
|
MsgVar = cr_def_msg__; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue