libcli: Overflow array index read possible, in auth code.
authorIra Cooper <ira@samba.org>
Thu, 13 Feb 2014 19:45:23 +0000 (14:45 -0500)
committerIra Cooper <ira@samba.org>
Mon, 24 Feb 2014 10:56:37 +0000 (11:56 +0100)
commit8cd8aa6686c21e8c43a6d14c0ae1a21954d6e8cd
tree229efb6e9a8d76b66c4f2b3caf5e1c121ea09d73
parent14063719e0b21da438179f0bb02b8c9d948d2dbb
libcli: Overflow array index read possible, in auth code.

Changed the if condtion to detect when we'd improperly overflow.

Coverity-Id: 1167990
Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ira Cooper <ira@samba.org>
Autobuild-Date(master): Mon Feb 24 11:56:38 CET 2014 on sn-devel-104
libcli/auth/netlogon_creds_cli.c