lib: Initialize getline() arguments
authorVolker Lendecke <vl@samba.org>
Tue, 9 Apr 2019 10:47:13 +0000 (12:47 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 9 Apr 2019 18:29:13 +0000 (18:29 +0000)
commitc0b2272a7d15d266ce64c86cf6a313b5b0fb67fd
tree2856bbfff2d011c74c924ae38a4ae155b8c70adc
parentb1582a4d09f4f6537f9067b4ff1d991acb624930
lib: Initialize getline() arguments

Keep "len" valid across the loop iterations for getline to consume

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13892

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libcli/dns/resolvconf.c