Bug#992400: fetchmail: segfault with specific .fetchmailrc

2021-08-18 Thread Matthias Andree
On Wed, 18 Aug 2021 19:20:01 +0200 Matthias Andree wrote: > The attached patch should fix the crash. envelope is special in that it > can take the value STRING_DISABLED == (char *)-1 for "no envelope", and > the optmerge() function did not take this into account and tried to > strdup(-1). Minor d

Bug#992400: fetchmail: segfault with specific .fetchmailrc

2021-08-18 Thread Matthias Andree
The attached patch should fix the crash. envelope is special in that it can take the value STRING_DISABLED == (char *)-1 for "no envelope", and the optmerge() function did not take this into account and tried to strdup(-1). This will likely become part of a future 6.4.22 and 6.5.0 release. diff

Bug#992400: fetchmail: segfault with specific .fetchmailrc

2021-08-18 Thread Bjørn Mork
Package: fetchmail Version: 6.4.16-4 Severity: important -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear Maintainer, fetchmail started SEGFAULTing after upgrading from buster to bullseye. This is an example config which causes this: test@canardo:~$ cat .fetchmailrc set invisible defaults