[librsvg] Fix crash in rsvg_filter_primitive_component_transfer_render.
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix crash in rsvg_filter_primitive_component_transfer_render.
- Date: Mon, 12 Apr 2010 03:52:03 +0000 (UTC)
commit 829eea4894ea816e48155d965ed8ea17d5c923bb
Author: Tom Paker <palfrey tevp net>
Date: Mon Apr 12 12:40:42 2010 +0900
Fix crash in rsvg_filter_primitive_component_transfer_render.
Fix for bug #579286.
Set correct fallback transfer funcion.
Some ComponentTransferFunc are not set if the original RGBA
order is used for index because channelmap order is BGRA on x86.
rsvg-filter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-filter.c b/rsvg-filter.c
index 0f8b853..0f82caa 100644
--- a/rsvg-filter.c
+++ b/rsvg-filter.c
@@ -2060,7 +2060,7 @@ rsvg_filter_primitive_component_transfer_render (RsvgFilterPrimitive *
}
}
if (i == self->super.children->len)
- functions[c] = identity_component_transfer_func;
+ functions[ctx->channelmap[c]] = identity_component_transfer_func;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]