In with the scabs, out with the tr_msg union!
authorSam Hartman <hartmans@debian.org>
Wed, 16 Jul 2014 16:51:17 +0000 (12:51 -0400)
committerSam Hartman <hartmans@debian.org>
Wed, 16 Jul 2014 16:51:17 +0000 (12:51 -0400)
commit01125fcfe0d13acf1e8e768f2c91558f34534973
treee79b2a6f4bf25c6f00f5c95a1458d8e28e829ba1
parent6f1ea68636be4fa33458c773f74836ec4a84fe7a
In with the scabs, out with the tr_msg union!

The tr_msg union lead to a number of security issues because the code
tended to check to see if msg->msg_struct_name was non-null.  However
it was always non-null because the pointer was shared among all the
union members.  Instead, use accessors for everything.
LP: #1333734
common/tr_msg.c
include/tr_msg.h
tid/tidc.c
tid/tids.c