imlib2: update to 1.4.2, converted to subpkgs.
--HG-- extra : convert_revision : 7dbd1ebba14458a807f34550b07548171b0e9028
This commit is contained in:
parent
56743db9eb
commit
6cadd68681
5 changed files with 80 additions and 3 deletions
13
srcpkgs/imlib2/patches/bufferoverflow.patch
Normal file
13
srcpkgs/imlib2/patches/bufferoverflow.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/modules/loaders/loader_xpm.c
|
||||
+++ src/modules/loaders/loader_xpm.c.new
|
||||
@@ -246,8 +246,8 @@
|
||||
return 0;
|
||||
}
|
||||
ptr = im->data;
|
||||
- end = ptr + (sizeof(DATA32) * w * h);
|
||||
pixels = w * h;
|
||||
+ end = ptr + pixels;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue