Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 810701] New: cairo call png_set_read_user_transform_fn() after png_read_update_info()
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 21 Mar 2013 08:57:08 +0000
  • Message-id: <bug-810701-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=810701

https://bugzilla.novell.com/show_bug.cgi?id=810701#c0


Summary: cairo call png_set_read_user_transform_fn() after
png_read_update_info()
Classification: openSUSE
Product: openSUSE Factory
Version: 13.1 Milestone 0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: GNOME
AssignedTo: bnc-team-gnome@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: pgajdos@xxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


In the cairo-png.c there is:

png_read_update_info (png, info);

[...]

switch (color_type) {
default:
ASSERT_NOT_REACHED;
/* fall-through just in case ;-) */

case PNG_COLOR_TYPE_RGB_ALPHA:
format = CAIRO_FORMAT_ARGB32;
png_set_read_user_transform_fn (png, premultiply_data);
break;

case PNG_COLOR_TYPE_RGB:
format = CAIRO_FORMAT_RGB24;
png_set_read_user_transform_fn (png, convert_bytes_to_data);
break;
}

But this turns in error in libpng16. JFYI, cairo wrongly reports 'no-memory',
but it actually causes libpng error "invalid after png_start_read_image or
png_read_update_info".

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >