]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove meaningless checks decoding DB2 principals
authorGreg Hudson <ghudson@mit.edu>
Tue, 6 Sep 2016 16:58:57 +0000 (12:58 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 9 Sep 2016 21:10:23 +0000 (17:10 -0400)
commitb8e22cd657bfe9815478268a0ba595007142008f
tree0b8a10b3d04f35d733d7d33e96972daa9bb9a804
parent6ad17522994653bf59a6e9e43bdb6970a9d73c0c
Remove meaningless checks decoding DB2 principals

Commit e3d9f03a658e247dbb43cb345aa93a28782fd995 (ticket 8481) added
several checks for negative length values when decoding DB2 principal
entries, including two unnecessary checks on unsigned values.  Remove
those checks as they can generate warnings.

(cherry picked from commit c0f08f2eadbf179ec30008893a125722536c7802)

ticket: 8491
version_fixed: 1.13.7
src/plugins/kdb/db2/kdb_xdr.c