mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
95c96662d0
PR: ports/129037 Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> Security: http://www.vuxml.org/freebsd/910486d5-ba4d-11dd-8f23-0019666436c2.html
15 lines
537 B
Plaintext
15 lines
537 B
Plaintext
Obtained from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505714#15
|
|
|
|
--- src/modules/loaders/loader_xpm.c
|
|
+++ src/modules/loaders/loader_xpm.c
|
|
@@ -246,8 +246,8 @@
|
|
return 0;
|
|
}
|
|
ptr = im->data;
|
|
- end = ptr + (sizeof(DATA32) * w * h);
|
|
pixels = w * h;
|
|
+ end = ptr + pixels;
|
|
}
|
|
else
|
|
{
|