From: | "Gilles Dartiguelongue (eva)" <eva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/eog/files: eog-2.24.0-unrecognized-chunks.patch |
Date: | Sun, 19 Oct 2008 18:57:29 |
Message-Id: | E1KrdSw-0005zV-8d@stork.gentoo.org |
1 | eva 08/10/19 18:57:26 |
2 | |
3 | Added: eog-2.24.0-unrecognized-chunks.patch |
4 | Log: |
5 | New version for GNOME 2.24. Mostly bug fixes, plugins' API now has a gtk-doc documentation, uses gio/gvfs. |
6 | (Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64, RepoMan options: --force) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-gfx/eog/files/eog-2.24.0-unrecognized-chunks.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/eog/files/eog-2.24.0-unrecognized-chunks.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/eog/files/eog-2.24.0-unrecognized-chunks.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: eog-2.24.0-unrecognized-chunks.patch |
15 | =================================================================== |
16 | --- |
17 | 2008-09-30 Felix Riemann <friemann@×××××××××.org> |
18 | |
19 | * src/eog-metadata-reader-jpg.c: (eog_metadata_reader_jpg_consume): |
20 | Don't overwrite the last read chunk when skipping over unrecognized |
21 | APP1 chunks. Avoids memory corruption and subsequent segfaults. |
22 | |
23 | Index: trunk/src/eog-metadata-reader-jpg.c |
24 | ==================================================================== |
25 | --- trunk/src/eog-metadata-reader-jpg.c 2008/09/30 11:58:28 4810 |
26 | +++ trunk/src/eog-metadata-reader-jpg.c 2008/09/30 13:49:31 4811 |
27 | @@ -321,6 +321,7 @@ |
28 | case EJA_OTHER: |
29 | default: |
30 | /* skip unknown data */ |
31 | + chunk = NULL; |
32 | priv->state = EMR_SKIP_BYTES; |
33 | break; |
34 | } |