From: Todd C. Miller <Todd.Miller@courtesan.com>
Date: Fri, 24 Jan 2014 16:39:11 +0000 (-0700)
Subject: Size pointer for sudo_parseln() should be size_t not ssize_t.
X-Git-Tag: SUDO_1_8_9p5~5
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3246d469b1c1fdf901bef072aa9b0272c0c740bd;p=sudo

Size pointer for sudo_parseln() should be size_t not ssize_t.
This was already correct for the nsswitch.conf case.

--HG--
branch : 1.8
---

diff --git a/plugins/sudoers/sudo_nss.c b/plugins/sudoers/sudo_nss.c
index 26c5874f8..e42060005 100644
--- a/plugins/sudoers/sudo_nss.c
+++ b/plugins/sudoers/sudo_nss.c
@@ -137,7 +137,7 @@ sudo_read_nss(void)
 {
     FILE *fp;
     char *cp, *ep, *line = NULL;
-    ssize_t linesize = 0;
+    size_t linesize = 0;
 #ifdef HAVE_SSSD
     bool saw_sss = false;
 #endif