Re: [Dovecot] bug with null pointer

2010-10-21 Thread Timo Sirainen
On Thu, 2010-10-21 at 17:08 +0200, Tobias Daucher wrote:
> we found a serious bug while testing our migration scripts.
> in Solaris (or other system 5) the user variable is not always set.
> Dsync is not very happy about that and crashes with an segmentation fault.

Thanks, fixed: http://hg.dovecot.org/dovecot-2.0/rev/760d84e274ad




[Dovecot] bug with null pointer

2010-10-21 Thread Tobias Daucher

Hi,
we found a serious bug while testing our migration scripts.
in Solaris (or other system 5) the user variable is not always set.
Dsync is not very happy about that and crashes with an segmentation fault.
After hours of debugging and TWOE simple lines
# USER=$LOGNAME
# export USER
the problem was solved! The null pointer was found - so i will go home now an
drink a bottle of "Erdinger"...
hope this hint helps for development - and we hope that we don't find
more of these bugs :)
bye
Tobi

--


Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach

Tel : 09622-7197-38
Fax : 09622-7197-50
Web : http://www.nagler-company.com
E-Mail : tobias.dauc...@nagler-company.com

Hauptsitz:  Schnaittenbach
Handelregister: Amberg HRB 4653
Gerichtsstand:  Amberg
Steuernummer:   201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer:Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze