diff options
author | Aaron Schrab <aaron+mutt@schrab.com> | 2013-10-06 14:32:45 +0000 |
---|---|---|
committer | Aaron Schrab <aaron+mutt@schrab.com> | 2013-10-06 14:32:45 +0000 |
commit | f30819adefe01da0a2d22e965071c75feb568a35 (patch) | |
tree | 36115bebbcbb4f6bbb3dba81879bc15bbb5dbe9b /imap/command.c | |
parent | e9ccf68935301787aed21b822dc5d1390257ec73 (diff) |
Ensure that BUFFER variables are initialized to prevent later attempts
to traverse an uninitialized pointer.
Diffstat (limited to 'imap/command.c')
-rw-r--r-- | imap/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/command.c b/imap/command.c index 092cf597..32f84178 100644 --- a/imap/command.c +++ b/imap/command.c @@ -778,6 +778,7 @@ static void cmd_parse_lsub (IMAP_DATA* idata, char* s) url_ciss_tostring (&url, buf + 11, sizeof (buf) - 10, 0); safe_strcat (buf, sizeof (buf), "\""); mutt_buffer_init (&token); + mutt_buffer_init (&err); err.data = errstr; err.dsize = sizeof (errstr); if (mutt_parse_rc_line (buf, &token, &err)) |