Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133458 Details for
Bug 195536
media-libs/libpng-1.2.21-r2 causes gnome-base/nautilus (and possibly other apps) to fail loading png's
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
version 1.2.22 seems to include "-r3" patch -> revert it to to just correct the typo but no more
correct-upstream.patch (text/plain), 1.03 KB, created by
Pierre Poissinger
on 2007-10-14 17:26:21 UTC
(
hide
)
Description:
version 1.2.22 seems to include "-r3" patch -> revert it to to just correct the typo but no more
Filename:
MIME Type:
Creator:
Pierre Poissinger
Created:
2007-10-14 17:26:21 UTC
Size:
1.03 KB
patch
obsolete
>diff -Nbur libpng-1.2.22.old/pngset.c libpng-1.2.22/pngset.c >--- libpng-1.2.22.old/pngset.c 2007-10-13 19:07:24.000000000 +0200 >+++ libpng-1.2.22/pngset.c 2007-10-14 18:59:40.000000000 +0200 >@@ -690,8 +690,7 @@ > png_warning(png_ptr, "Insufficient memory to process iCCP chunk."); > return; > } >- png_strncpy(new_iccp_name, name, png_strlen(name)); >- new_iccp_name[png_strlen(name)] = '\0'; >+ png_strncpy(new_iccp_name, name, png_strlen(name)+1); > new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); > if (new_iccp_profile == NULL) > { >@@ -981,8 +980,7 @@ > "Out of memory while processing sPLT chunk"); > } > /* TODO: use png_malloc_warn */ >- png_strncpy(to->name, from->name, png_strlen(from->name)); >- to->name[png_strlen(from->name)] = '\0'; >+ png_strncpy(to->name, from->name, png_strlen(from->name)+1); > to->entries = (png_sPLT_entryp)png_malloc_warn(png_ptr, > from->nentries * png_sizeof(png_sPLT_entry)); > /* TODO: use png_malloc_warn */
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 195536
:
133435
| 133458