[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: phone number validation

From: Pawel Kot
Subject: Re: phone number validation
Date: Thu, 17 Feb 2011 17:42:09 +0100


On Thu, Feb 17, 2011 at 17:11, Bradley Andersen <address@hidden> wrote:
> In gnokii 0.6.30, if I send it a "blank" phone number, gnokii still tries to
> deliver to that phone number, and seg faults.  I have not looked at the
> gnokii source, and I know that validating phone numbers is impossible to do
> perfectly, just like email addresses.  But I wonder why something that does
> not even resemble a phone number (an empty string) would be accepted and
> used in a function that requires a string?

Avoiding empty number is easy and a right thing to do. However gnokii
should not segfault. And in fact I cannot reproduce the segfault. Can
you please provide more details on that according to

Pawel Kot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]