mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libjpeg: import from oldpackages, add myself as maintainer, add fix for CVE-2013-6629, change PKG_LICENSE to SPDX identifier
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- a/jdmarker.c
|
||||
+++ b/jdmarker.c
|
||||
@@ -342,6 +342,12 @@ get_sos (j_decompress_ptr cinfo)
|
||||
|
||||
TRACEMS3(cinfo, 1, JTRC_SOS_COMPONENT, cc,
|
||||
compptr->dc_tbl_no, compptr->ac_tbl_no);
|
||||
+
|
||||
+ /* This CSi (cc) should differ from the previous CSi */
|
||||
+ for (ci = 0; ci < i; ci++) {
|
||||
+ if (cinfo->cur_comp_info[ci] == compptr)
|
||||
+ ERREXIT1(cinfo, JERR_BAD_COMPONENT_ID, cc);
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Collect the additional scan parameters Ss, Se, Ah/Al. */
|
||||
Reference in New Issue
Block a user