lib: Initialize getline() arguments
commit2cc3b4c42c5acfba2c0d1d5cee8e0c02f38c322c
authorVolker Lendecke <vl@samba.org>
Tue, 9 Apr 2019 10:47:13 +0000 (9 12:47 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 16 May 2019 10:37:49 +0000 (16 10:37 +0000)
tree00c013f3d3d122137ca8d08cdad4beac048629ed
parentd1962a5f5278fc299af982d73e517c40a4b09320
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>
(cherry picked from commit c0b2272a7d15d266ce64c86cf6a313b5b0fb67fd)
libcli/dns/resolvconf.c