Bug#309536: Possible security issue in mailleds.

2005-05-18 Thread Uwe Hermann
Hi Dennis, On Tue, May 17, 2005 at 11:38:51PM +0200, Dennis Stampfer wrote: > Changing > if(opt_maildir == 1) { > to > if(opt_maildir == 1 && opt_m) { > > will do the trick for -M -k. Do you have any notes on that? That should prevent the segfault, I guess. Maybe you should add

Bug#309536: Possible security issue in mailleds.

2005-05-17 Thread Dennis Stampfer
Hi Uwe, thanks for inspecting mailleds! On Tue, May 17, 2005 at 10:03:13PM +0200, Uwe Hermann wrote: (..) > This is due to a bug in set_pidfilename() in pid.c: > > if(opt_maildir == 1) { > i=strlen(opt_m); > while(i && opt

Bug#309536: Possible security issue in mailleds.

2005-05-17 Thread Uwe Hermann
Package: mailleds Version: 0.93-11 Severity: important Hello, I have found a (probably security-related) bug in mailleds which causes it to segfault when it is given the -M and -k parameters, but not the -m parameter. Demonstration: $ mailleds -M -m foo -k mailleds: no process running for SOMEU