]> granicus.if.org Git - mutt/commitdiff
Increase mutt_pgpring path size to silence warning.
authorKevin McCarthy <kevin@8t8.us>
Fri, 19 Apr 2019 23:06:43 +0000 (16:06 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 19 Apr 2019 23:06:43 +0000 (16:06 -0700)
This is an independent binary, and doesn't have access to the BUFFER
functions.  The binary is used by very few (if any) people at this
point, so just make the minimum fix to silence the warning.

pgppubring.c

index 5312f924ff1c0ebdee52943238479fc9e186f2cb..5e64fb904494d75da429abd86db79f1e88e8292e 100644 (file)
@@ -86,7 +86,7 @@ int main (int argc, char * const argv[])
   char *env_pgppath, *env_home;
 
   char pgppath[_POSIX_PATH_MAX];
-  char kring[_POSIX_PATH_MAX];
+  char kring[_POSIX_PATH_MAX+12];
 
   while ((c = getopt (argc, argv, "f25sk:S")) != EOF)
   {