s3: net: Consider unprocessed in input buffer
authorSamuel Cabrero <scabrero@suse.de>
Fri, 7 Jun 2019 19:12:12 +0000 (21:12 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 11 Jun 2019 14:01:20 +0000 (14:01 +0000)
commit4646698f1b040e743180b7d43578c31d6a28983e
tree1e701d47c6aa2bdddad49df49d7bdbad26aa9957
parent49e2d36918673e7922e4c983809ad1481db63f96
s3: net: Consider unprocessed in input buffer

If there is unprocessed data in the input buffer (ilen > 0), place new
data read after the unprocessed one.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/registry/reg_parse.c