summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* jpeg: Avoid an infinite loop with invalid imagesebassi/issue-209Emmanuele Bassi2022-08-094-1/+37
| | | | | | | | | When loading an invalid image with a missing EOI marker we end up triggering an infinite loop inside libjpeg. Original patch by: Sam Ezeh <sam.z.ezeh@gmail.com> Fixes: #209
* Post-release version bump to 2.42.10Emmanuele Bassi2022-08-091-1/+1
|
* Release gdk-pixbuf 2.42.92.42.9Emmanuele Bassi2022-08-091-0/+11
|
* Merge branch 'meson-cleanups' into 'master'Emmanuele Bassi2022-08-091-48/+4
|\ | | | | | | | | build: Clean up search for deps on Visual Studio See merge request GNOME/gdk-pixbuf!131
| * build: Clean up search for libtiffChun-wei Fan2022-03-211-15/+1
| | | | | | | | | | Like the previous commits, use CMake's builtin support to look for libtiff, which will clean things up a bit in the build files
| * build: Clean up libjpeg/libjpeg-turbo searchChun-wei Fan2022-03-211-10/+1
| | | | | | | | | | | | | | Like wat we did for libpng, do likewise to look for libjpeg (or libjpeg-turbo) via CMake's builtin support, so that we can clean up the build files and have CMake do a more comprehensive manual search for libjpeg or libjpeg-turbo.
| * build: Clean up search for libpngChun-wei Fan2022-03-211-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We can use CMake's built-in search for the libpng headers and libraries for Visual Studio-like compilers; however, we must use 'png' instead of 'libpng' for the package name for this to work. This will cover the manual headers and .lib search in a more comprehensive way, which CMake will handle for us and it is an optionally-installed item for Visual Studio 2017 and later, and is very commonly used on Windows dev environments. Also use a common variable to indicate whether we are using an MSVC-like compiler, to save future typing.
* | Merge branch 'disable_relocation_on_static' into 'master'Emmanuele Bassi2022-08-093-6/+5
|\ \ | | | | | | | | | | | | Disable relocation when built as a static libary on Windows See merge request GNOME/gdk-pixbuf!136
| * | Disable relocation when built as a static libary on WindowsHesham Essam2022-06-033-6/+5
| | |
* | | Merge branch 'rst2man-option' into 'master'Emmanuele Bassi2022-08-091-1/+1
|\ \ \ | | | | | | | | | | | | | | | | meson: update man option to mention it now requires rst2man See merge request GNOME/gdk-pixbuf!135
| * | | meson: update man option to mention it now requires rst2manJason Francis2022-05-131-1/+1
| |/ /
* | | Merge branch 'ebassi/issue-205' into 'master'Emmanuele Bassi2022-08-094-0/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | jpeg: Limit the memory size when loading image data Closes #205 See merge request GNOME/gdk-pixbuf!139
| * | | jpeg: Limit the memory size when loading image dataEmmanuele Bassi2022-08-094-0/+39
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specially crafted JPEG images may lead to a crash when their size is too large; in the most benign of cases, the OS might terminate the process after it tries to allocate all the memory in the world. We can tell libjpeg to limit the size of the memory pool when loading, to avoid this kind of result. For the time being, 100 MB seems like a good threshold. Original patch by: Sam Ezeh <sam.z.ezeh@gmail.com> Fixes: #205
* | | Merge branch 'gif-lzw-code-size-overflow' into 'master'Emmanuele Bassi2022-08-0912-2/+39
|\ \ \ | | | | | | | | | | | | | | | | Fix overflow when reading GIF images with invalid LZW initial code size. See merge request GNOME/gdk-pixbuf!130
| * | | Add tests for GIF files with invalid LZW code sizesRobert Ancell2022-02-029-0/+35
| | | |
| * | | Fix the check for maximum value of LZW initial code size.Robert Ancell2022-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value is the number of bits for each symbol (i.e. colour index) decoded via LZW. The maximum LZW code is specified as 12 bits, so the value here can only be 11 as two additional code words are required (clear and end of information) that immediately uses an additional bit. This implementation has always been wrong, and the Firefox implementation has the same issue so it seems a common misinterpretation of the spec. This has been changed here to avoid an assertion later in the LZW decoder. Note that there is never any reason for a GIF to be encoded with more than 8 bits of colour information, as the colour tables only support up to 8 bits.
| * | | Add an assertion that checks for maximum LZW code sizeRobert Ancell2022-02-021-0/+2
| | | |
| * | | Fix test GIF that was broken in the LZW code size, not the values of the pixelsRobert Ancell2022-02-021-0/+0
| | | |
* | | | Update Abkhazian translationNart Tlisha2022-07-291-56/+1
| | | |
* | | | Update Georgian translationZurab Kargareteli2022-07-281-590/+566
| | | |
* | | | Add Abkhazian translationNart Tlisha2022-07-252-0/+969
| | | |
* | | | Merge branch 'gbsneto/jpeg-wrap' into 'master'Emmanuele Bassi2022-07-181-8/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | build: Update libjpeg-turbo wrap See merge request GNOME/gdk-pixbuf!138
| * | | | build: Update libjpeg-turbo wrapGeorges Basile Stavracas Neto2022-07-181-8/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current wrap version has a bug when building on Windows with MSVC. Update to 2.1.2-2 as per wrapdb [1]. [1] https://wrapdb.mesonbuild.com/v2/libjpeg-turbo_2.1.2-2/libjpeg-turbo.wrap
* | | | Update Persian translationDanial Behzadi2022-07-121-245/+163
| | | |
* | | | Update Persian translationDanial Behzadi2022-07-111-496/+754
| |/ / |/| |
* | | Merge branch 'rst-man' into 'master'Emmanuele Bassi2022-05-137-284/+183
|\ \ \ | | | | | | | | | | | | | | | | Replace DocBook with reStructuredText for man pages See merge request GNOME/gdk-pixbuf!134
| * | | ci: Bump to the v4 imageEmmanuele Bassi2022-05-131-1/+1
| | | |
| * | | ci: Use Meson 0.56Emmanuele Bassi2022-05-131-1/+1
| | | |
| * | | ci: Bump up base image to Fedora 36Emmanuele Bassi2022-05-131-1/+1
| | | |
| * | | ci: Add python3-docutilsEmmanuele Bassi2022-05-131-0/+1
| | | | | | | | | | | | | | | | For rst2man.
| * | | Replace DocBook with reStructuredText for man pagesEmmanuele Bassi2022-05-135-281/+179
| | | | | | | | | | | | | | | | | | | | | | | | The dependency on xsltproc and the DocBook style sheets is vaguely annoying, and there are better tools these days that do not require writing XML.
* | | | Merge branch 'meson-build-tests' into 'master'Emmanuele Bassi2022-05-122-1/+8
|\ \ \ \ | |/ / / |/| | | | | | | | | | | meson: add build_tests option See merge request GNOME/gdk-pixbuf!132
| * | | meson: add build_tests optionJason Francis2022-05-122-1/+8
|/ / /
* | | Merge branch 'ebassi/msys-no-man-pages' into 'master'Emmanuele Bassi2022-05-122-0/+2
|\ \ \ | |_|/ |/| | | | | | | | ci: Disable man pages on MSYS2 See merge request GNOME/gdk-pixbuf!133
| * | ci: Allow macOS job to failEmmanuele Bassi2022-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | | The macOS CI runner is really flaky, so we can't allow it to block every time it goes belly up. See also: https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/558
| * | ci: Disable man pages on MSYS2Emmanuele Bassi2022-05-121-0/+1
|/ / | | | | | | | | Otherwise we need docbook-xsl stylesheets for turning docbook into man pages.
* | Post-release version bump to 2.42.9Emmanuele Bassi2022-03-181-1/+1
| |
* | Release GdkPixbuf 2.42.8 (stable)2.42.8Emmanuele Bassi2022-03-182-1/+14
| |
* | Update Bulgarian translationAlexander Shopov2022-03-121-363/+318
|/
* Update Japanese translationsicklylife2022-01-301-25/+17
|
* Update Japanese translationsicklylife2022-01-301-199/+206
|
* Merge branch 'pixbuf-uninitialized-memory' into 'master'Emmanuele Bassi2022-01-261-1/+1
|\ | | | | | | | | | | | | gdk_pixbuf_new() - Clear the pixbuf's memory buffer to avoid returning uninitialized memory Closes #199 See merge request GNOME/gdk-pixbuf!128
| * gdk_pixbuf_new() - Clear the pixbuf's memory buffer to avoid returning ↵Federico Mena Quintero2022-01-251-1/+1
|/ | | | | | uninitialized memory Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/199
* Update Indonesian translationKukuh Syafaat2021-12-221-955/+952
|
* Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2021-11-091-5/+5
|\ | | | | | | | | docs: Fix the XPM data annotation See merge request GNOME/gdk-pixbuf!125
| * docs: Remove invalid nullable annotationEmmanuele Bassi2021-11-091-1/+1
| | | | | | | | The return value of GdkPixbufModuleBeginLoadFunc is NULL only on error.
| * docs: Fix the XPM data annotationEmmanuele Bassi2021-11-091-4/+4
|/ | | | Make sure that the array is annotated as zero-terminated.
* Merge branch 'ebassi/loader-vfunc' into 'master'Emmanuele Bassi2021-11-091-39/+171
|\ | | | | | | | | Turn GdkPixbufModule functions into typed callbacks See merge request GNOME/gdk-pixbuf!123
| * Turn GdkPixbufModule functions into typed callbacksEmmanuele Bassi2021-11-091-39/+171
| | | | | | | | This way we can properly document and annotate them.
* | Merge branch 'ebassi/tiff-types' into 'master'Emmanuele Bassi2021-11-091-6/+7
|\ \ | | | | | | | | | | | | tiff: Use non-deprecated C99 integer types See merge request GNOME/gdk-pixbuf!124