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 06:23:03 +0000 (07:23 +0100)
commit538cbfe0e90b7c7ed0f8421b323cac4dacd83f04
tree618829c97369ffa6ff079c3a65fb05e89b91f9be
parent72f9932d4f70f76360490b315f95aa8dedc98390
libcli: Overflow array index read possible, in auth code.

The values have to be signed here to allow for the values to go negative,
to prevent the 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 07:23:03 CET 2014 on sn-devel-104
libcli/auth/netlogon_creds_cli.c