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>
Tue, 22 Jul 2014 14:27:32 +0000 (10:27 -0400)
commit41e439c3fa7d99335f731aeebf6190ea8a5e068d
tree8f431472da2f5ca876c521341d34fb48a6ce3e35
parenta424740cc7859cf1d4118ce36c77133952a9c581
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