At Thu, 19 Mar 2009 11:25:56 +0000 (GMT), David Carter <[email protected]> wrote:
Subject: Use of isspace() and friends in Cyrus
>
> isspace(-10) isn't defined.
>
> Worse isspace() is normally implemented as an array lookup and can
> segfault with a negative index if you are really unlucky.
s/unlucky/lucky/
I.e. it's lucky to get some abort-causing error as soon as possible if
you are a developer -- the sooner one learns the error of one's ways,
the better! :-)
--
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <[email protected]>
Planix, Inc. <[email protected]> Secrets of the Weird <[email protected]>