pidl/NDR/Parser: also do range checks on the array sizesamba-3.6.4
commit0b9d59d256a74594e89467e5ebe4e62c25c9572e
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Mar 2012 16:03:05 +0000 (15 17:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 7 Apr 2012 13:23:20 +0000 (7 15:23 +0200)
tree88cfb71b598aa259ee820eaf1f2aa469feb15a07
parent3e0e6f56a671b40b21c37838ff292fe8902889bb
pidl/NDR/Parser: also do range checks on the array size

metze

The last 8 patches address bug #8815 (PIDL based autogenerated code allows
overwriting beyond of allocated array; CVE-2012-1182).
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm