Package: allegro5 / 2:5.2.6.0-3+deb11u1

Metadata

Package Version Patches format
allegro5 2:5.2.6.0-3+deb11u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix manpages.patch | (download)

docs/src/refman/font.txt | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 fix a manpage issue.
 * When manpages are generated from these files, 
   this stuff with the dots is interpreted as a
   (missing) macro and not displayed.
fix manpage generation script.patch | (download)

docs/Refman.cmake | 2 1 + 1 - 0 !
docs/scripts/make_man.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix issues with the manpage generation script.
 * Add alleg5 suffix to manual page file names to prevent
   possible name clashes. 
use debians dejavu font.patch | (download)

tests/test_fonts.ini | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use debian's dejavusans font for the fonts test.
 It is in the package fonts-dejavu-core.
0004 Migrate GTK2 to GTK3.patch | (download)

addons/native_dialog/CMakeLists.txt | 2 1 + 1 - 0 !
addons/native_dialog/gtk_dialog.c | 18 11 + 7 - 0 !
addons/native_dialog/gtk_filesel.c | 4 2 + 2 - 0 !
addons/native_dialog/gtk_menu.c | 67 9 + 58 - 0 !
addons/native_dialog/gtk_textlog.c | 17 12 + 5 - 0 !
addons/native_dialog/gtk_xgtk.c | 3 2 + 1 - 0 !
6 files changed, 37 insertions(+), 74 deletions(-)

 migrate gtk2 to gtk3
Bug: https://github.com/liballeg/allegro5/pull/1155


0005 Fix warnings in make_doc.patch | (download)

docs/scripts/make_doc.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix warnings in make_doc
0006 Prevent RLE data in corrupt .tga from overflowing th.patch | (download)

addons/image/tga.c | 116 96 + 20 - 0 !
1 file changed, 96 insertions(+), 20 deletions(-)

 prevent rle data in corrupt .tga from overflowing the buffer

Also masked out the 1-bit A value from a 15-bit image; this could
cause the bounds of _al_rgb_scale_5[] to be exceeded.

0007 Reject creating bitmaps with negative width or heigh.patch | (download)

src/bitmap.c | 9 4 + 5 - 0 !
1 file changed, 4 insertions(+), 5 deletions(-)

 reject creating bitmaps with negative width or height

Also reject absurd sizes. Previously bitmaps with a height of
INT_MIN could slip through
the checks, by a combination of lower bounds and arithmetic
overflows and be created by the Open GL driver.  However this bitmap
would cause a crash when al_lock_bitmap was called.

0008 PCX loader validation.patch | (download)

addons/image/pcx.c | 5 5 + 0 - 0 !
addons/image/tga.c | 86 51 + 35 - 0 !
2 files changed, 56 insertions(+), 35 deletions(-)

 pcx loader validation

Validate bytes_per_line.

Validate palette

0009 Windows BMP Make more robust to crashing.patch | (download)

addons/image/bmp.c | 179 108 + 71 - 0 !
addons/image/tga.c | 6 3 + 3 - 0 !
src/bitmap.c | 2 1 + 1 - 0 !
3 files changed, 112 insertions(+), 75 deletions(-)

 windows bmp - make more robust to crashing

Validate compression mode and palette size

Handle zero-sized bitmaps

Fix text description to match the order of the fields

Make sure RLE4/RLE8 decoders don't step outside their buffers
Track failure from the decoders and use to avoid leaks
Allow extra space to prevent direct color decoder reading outside its buffer