summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/patches/patch-rfc1524.c
blob: 6a9fbc09aa55bc9e06ffc745786ccd619863bbc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-rfc1524.c,v 1.1 2013/03/09 22:15:08 is Exp $

Index: rfc1524.c
===================================================================
--- rfc1524.c	(revision 6235)
+++ rfc1524.c	(revision 6297)
@@ -69,5 +69,5 @@
     mutt_sanitize_filename (type, 0);
 
-  while (x < clen && command[x] && y < sizeof (buf) - 1)
+  while (x < clen - 1 && command[x] && y < sizeof (buf) - 1)
   {
     if (command[x] == '\\')