s3-lib: Do not walk past the end of the dos_to_ntstatus_map array
commitcb25480e82cb2e0ef8793fd9c21d710208c822f3
authorAndrew Bartlett <abartlet@samba.org>
Mon, 1 Sep 2014 23:25:07 +0000 (2 11:25 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Sep 2014 05:26:34 +0000 (8 07:26 +0200)
tree8e02b2f944dc2b069fb1d646031e085579861001
parentb8fc4d4ab503b0e95738734c1019b9d3430908ba
s3-lib: Do not walk past the end of the dos_to_ntstatus_map array

Found by AddressSanitizer

Change-Id: Ic8b3e2599713c37b11324f9ec2d01891f0f287b9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
source3/libsmb/errormap.c