summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index d874178b..6ba20de6 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -2259,6 +2259,9 @@ void MsgSetMSGoffs(msg_t *pMsg, short offs)
ISOBJ_TYPE_assert(pMsg, msg);
pMsg->offMSG = offs;
if(offs > pMsg->iLenRawMsg) {
+ if(!(offs - 1 == pMsg->iLenRawMsg)) {
+ *((char*)(0)) = "abd";
+ }
assert(offs - 1 == pMsg->iLenRawMsg);
pMsg->iLenMSG = 0;
} else {