libosmocore/tests/msgb
Harald Welte a24be85dc4 Fix msgb_test on 64 bit architectures
truncating the unsigned long pointer msg->data to 'int' and then passin
git into msgb_resize_area() is unsafe as depending on the 32rd address
bit it will be eiether negative or positive.  That will in turn change
the expected "Sub area is not fully contained in the msg data\n" error
message into "Negative sizes are not allowed\n" which is not what the
autotest case expects.

Change-Id: I87ce13c265704d4ba8724e7dc7ed874c1128e0fa
2016-12-09 17:59:58 +01:00
..
msgb_test.c Fix msgb_test on 64 bit architectures 2016-12-09 17:59:58 +01:00
msgb_test.ok msgb/test: Add test case for error cases 2016-01-15 18:12:49 +01:00