avoid creating negative values out of unsigned values using MAX, check to
authorManish Singh <yosh@gimp.org>
Fri, 18 Oct 2002 20:43:56 +0000 (20:43 +0000)
committerManish Singh <yosh@src.gnome.org>
Fri, 18 Oct 2002 20:43:56 +0000 (20:43 +0000)
commit55a39b80331b40f6a15c58cc22668dab19545338
treed3a033cfc8ca3cf841b805216a175291cb5ad946
parentac1080ee3b1aa149edb1839d33249e516c5d6db7
avoid creating negative values out of unsigned values using MAX, check to

Fri Oct 18 13:41:30 2002  Manish Singh  <yosh@gimp.org>

        * glib/giochannel.c (g_io_channel_read_line_backend): avoid
        creating negative values out of unsigned values using MAX,
        check to see if the result would be positive before doing
        the calculation.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/giochannel.c