TEST_NLATTR_OBJECT and TEST_NLATTR_ARRAY fault when sizeof(obj) - 1 > DEFAULT_STRLEN

JingPiao Chen chenjingpiao at gmail.com
Sun Jul 2 04:12:54 UTC 2017


when sizeof(obj) - 1 > DEFAULT_STRLEN, we print all string,
but strace print "STR"..., so the test fault.
This appear when I test packet_diag_msg PACKET_DIAG_MCLIST.

--
JingPiao Chen




More information about the Strace-devel mailing list