Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 544468 Details for
Bug 664270
media-gfx/splashutils-1.5.4.4-r8 segmentation fault (patch)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
image buffer size patch
splashutils-1.5.4.4-malloc.patch (text/plain), 449 bytes, created by
Vasiliy
on 2018-08-22 15:38:41 UTC
(
hide
)
Description:
image buffer size patch
Filename:
MIME Type:
Creator:
Vasiliy
Created:
2018-08-22 15:38:41 UTC
Size:
449 bytes
patch
obsolete
>--- splashutils-1.5.4.4/src/image.c.orig 2018-08-22 18:07:51.823961507 +0300 >+++ splashutils-1.5.4.4/src/image.c 2018-08-22 18:07:55.709961801 +0300 >@@ -101,7 +101,7 @@ > *height = png_get_image_height(png_ptr, info_ptr); > } > >- *data = malloc(theme->xres * theme->yres * fbd.bytespp); >+ *data = malloc(bytespp * (*height) * (*width)); > if (!*data) { > iprint(MSG_CRITICAL, "Failed to allocate memory for image: %s.\n", filename); > return -4;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 664270
: 544468