diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-01-16 10:14:49 +0000 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-02-07 10:58:30 +0000 |
commit | fe541abddc141b017a03b1b71df0a6f038acf13b (patch) | |
tree | a814e143b7da719c0b2f1b449c16dc918a8ce5e1 /configure.ac | |
parent | d579de66166d6d9130b8047cf54e61a4ae29aa6e (diff) | |
download | gdk-pixbuf-fe541abddc141b017a03b1b71df0a6f038acf13b.tar.gz |
io-bmp: Add overflow checks to BMP image saver
Return an error if the image width or height are too big to fit in the
BMP size fields.
This bumps our GLib dependency to 2.48.0, as it uses
g_uint_checked_mul(). If you want to backport this fix, it’s probably
best to use __builtin_umul_overflow() directly (if compiling using GCC
or another compiler which supports it).
Coverity ID: 1388532
https://bugzilla.gnome.org/show_bug.cgi?id=777315
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0608c3809..d55f3dd7d 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,7 @@ m4_define([gdk_pixbuf_binary_version], [2.10.0]) # required versions of other packages -m4_define([glib_required_version], [2.37.6]) +m4_define([glib_required_version], [2.48.0]) AC_INIT([gdk-pixbuf], [gdk_pixbuf_version], [http://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf], |