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;