[Geany] utils_strtod, invalid_test + patch

Enrico Tröger enrico.troeger at xxxxx
Sun May 21 23:49:24 UTC 2006


On Mon, 22 May 2006 01:19:08 +0200, Pierre <pierre.php at gmail.com> wrote:

> Hello,
Hi,
 
> A little fix fpr utils_strtod. It should use integer if it needs to
> test values lower than 0 (<= 0 incl.). A better fix would be to use
when gets i lower than 0? I think unsigned int is ok. When i is lower
than 0, there must be a bigger problem than the integer underflow ;-).
(correct me if I'm wrong)
The sanity check for source == NULL is good and applied.

The checks for foreground and background are ok and I'll commit them.

Thanks.

regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
Geany, a lightweight IDE using GTK2 - http://geany.uvena.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20060522/c01375ff/attachment.pgp>


More information about the Users mailing list