diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2021-08-26 23:53:14 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2021-08-27 00:16:12 +0200 |
commit | 5cca5d1e300a41bda91b983c8ccf7fbb60ccb957 (patch) | |
tree | cd75e9ea3c40eb833da0448cfb090831f2ec40f4 /fetchmail.h | |
parent | 27e6d102926a1d60bff82a7a511acd9cf2a9b76e (diff) | |
download | fetchmail-5cca5d1e300a41bda91b983c8ccf7fbb60ccb957.tar.gz fetchmail-5cca5d1e300a41bda91b983c8ccf7fbb60ccb957.tar.bz2 fetchmail-5cca5d1e300a41bda91b983c8ccf7fbb60ccb957.zip |
fetchmail.c: Fix SIGSEGV optmerge()ing "no envelope"
Reported by Bjørn Mork, fixes Debian Bug#992400.
Crash happens inside xstrdup() on a strlen((char *)-1) where
the argument is constant and the trigger is a local trusted
configuration file, so not deemed a vulnerability.
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.h b/fetchmail.h index 717ebd6f..d976f481 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -265,7 +265,7 @@ struct hostdata /* shared among all user connections to given server */ int interval; /* # cycles to skip between polls */ int authenticate; /* authentication mode to try */ int timeout; /* inactivity timout in seconds */ - char *envelope; /* envelope address list header */ + char *envelope; /* envelope address list header - WARNING - can take value STRING_DISABLED (-1)! */ int envskip; /* skip to numbered envelope header */ char *qvirtual; /* prefix removed from local user id */ flag skip; /* suppress poll in implicit mode? */ |