On Wed, Apr 10, 2013 at 12:02:25PM -0500, Derek Martin wrote:
On Tue, Apr 09, 2013 at 08:25:00PM -0700, Kevin J. McCarthy wrote:
So basically the patch would be something like:
case 10: /* name */
{
- if (!pend || !*p)
+ if (!(pend && (*p || is_pub)))
break; /* empty field or no trailing colon */
This would create an address record, recording the trust and flags, but
with a null addr field.
I also am not familiar with this code, and only have a moment to reply
so I'm not going to go hunt it down right now--that said an
alternative might be to explicitly set the addr field to an empty
string rather than leaving it null...
No. The convention is to use NULL and use the NONULL() macro.