diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-12-22 00:16:52 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-12-22 00:16:52 +0000 |
commit | cf2051764c5acd745fb4693e9be78e89fb5dd0b5 (patch) | |
tree | 87e5498210c747d8b5c306d330b7eb633534fec6 /lib/smtp.c | |
parent | 3ce2a3991b85e9de6888e7848ae957cc77f4e1b4 (diff) | |
download | curl-cf2051764c5acd745fb4693e9be78e89fb5dd0b5.tar.gz |
email: Fixed segfault introduced in commit 195b63f99c2fe3
Diffstat (limited to 'lib/smtp.c')
-rw-r--r-- | lib/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp.c b/lib/smtp.c index dd26f7b8e..936320377 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -1929,7 +1929,7 @@ static CURLcode smtp_parse_url_options(struct connectdata *conn) const char *ptr = options; bool reset = TRUE; - while(*ptr) { + while(ptr && *ptr) { const char *key = ptr; while(*ptr && *ptr != '=') |