Hey there,
recently I've been trying to compile version 1.7.0, no errors, no warnings.
But whenever I ran the program, it broke with a segfault - I watched at the
code and examined that it breaks when packing the sql-statement for getting
the user's maildir in a string.
The agument "username" of get_user_mysql() simply was NULL - everytime, no
matter what arguments I ran the program with.
After making some debug output in run(), I found the bug: the code gets the
right "-d", but it uses the following space as optarg instead of the
username - what the hell?
I tried a different version and the same thing happened. Since I'm not THAT
into writing C++ in unix, I'm sure this must be something with my compiler
environment ...
Do you have any idea what I did wrong?
I do have Suse 9.2 installed. If you need more info about my system to get
an idea, let me know. :-)
Thanks.
P.S. I've seen quite a bunch of users online posting questions about the
same thing: maildrop crashing. Maybe they all have the same problem!