diff options
Diffstat (limited to 'rfc2045.c')
-rw-r--r-- | rfc2045.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rfc2045.c b/rfc2045.c index ef073d3..e919b28 100644 --- a/rfc2045.c +++ b/rfc2045.c @@ -64,6 +64,8 @@ blaze822_mime_body(struct message *msg, int blaze822_mime_parameter(char *s, char *name, char **starto, char **stopo) { + if (!s) + return 0; s = strchr(s, ';'); if (!s) return 0; |