[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] small issues in the argument processing
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] small issues in the argument processing |
Date: |
Mon, 25 May 2009 13:29:20 +0300 |
Andrew Barnes <address@hidden> ha escrit:
> 1) If I pass NULL as the second parameter of mu_app_init then the
> program segfaults, but if I pass an array with just one element set to
> NULL, then the program works fine.
Second parameter is required. Moreover, it must contain at least one
non-internal capability. The internal capabilities are: "common" and
"license". That's why you experience coredumps until you add "debug".
So far no mailutils component have used mu_app_init without capability
argument, so I did not bother to handle such special cases. I'll
probably change this in future.
Regards,
Sergey