Accept -1 for the data length if the data is a null-terminated string. Bug
authorMurray Cumming <murrayc@murrayc.com>
Mon, 21 Jan 2008 13:11:13 +0000 (13:11 +0000)
committerMurray Cumming <murrayc@src.gnome.org>
Mon, 21 Jan 2008 13:11:13 +0000 (13:11 +0000)
commit5fbfef4cb7ea7d512f9d8fff94cdeef116eb2af5
tree0716e4afc35cbf0a0794f07293fcfab08bc95542
parent6aaab07e0f02e043f149d39a7d2e2012c19cf34f
Accept -1 for the data length if the data is a null-terminated string. Bug

2008-01-20  Murray Cumming  <murrayc@murrayc.com>

        * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data
        length if the data is a null-terminated string. Bug #510855.

svn path=/trunk/; revision=6340
ChangeLog
glib/gchecksum.c