[portals4] r2276 committed - Add in warning when messages are truncated to zero bytes, due to being...

0 views
Skip to first unread message

port...@googlecode.com

unread,
Mar 26, 2014, 10:04:23 AM3/26/14
to portals4...@googlegroups.com
Revision: 2276
Author: regra...@gmail.com
Date: Wed Mar 26 14:04:07 2014 UTC
Log: Add in warning when messages are truncated to zero bytes, due to
being outside of the ME bounds
http://code.google.com/p/portals4/source/detail?r=2276

Modified:
/trunk/src/ib/ptl_tgt.c

=======================================
--- /trunk/src/ib/ptl_tgt.c Fri Feb 28 15:49:22 2014 UTC
+++ /trunk/src/ib/ptl_tgt.c Wed Mar 26 14:04:07 2014 UTC
@@ -800,6 +800,7 @@
/* Messages that start outside the bounds of the ME are
* truncated to zero bytes. */
length = 0;
+ WARN();
} else {
ptl_size_t room = me->length - offset;
length = (room >= rlength) ? rlength : room;
Reply all
Reply to author
Forward
0 new messages