• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/jasper/0005-fix-CVE-2014-8157.patch
Gustavo ZacariasGustavo Zacarias committed ddfce0448d726 Jan 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Fix CVE-2014-8157 - dec->numtiles off-by-one check in jpc_dec_process_sot()
2
From https://bugzilla.redhat.com/show_bug.cgi?id=1179282
3
​
4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5
​
6
diff -up jasper-1.900.1/src/libjasper/jpc/jpc_dec.c.CVE-2014-8157 jasper-1.900.1/src/libjasper/jpc/jpc_dec.c
7
--- jasper-1.900.1/src/libjasper/jpc/jpc_dec.c.CVE-2014-8157    2015-01-19 16:59:36.000000000 +0100
8
+++ jasper-1.900.1/src/libjasper/jpc/jpc_dec.c  2015-01-19 17:07:41.609863268 +0100
9
@@ -489,7 +489,7 @@ static int jpc_dec_process_sot(jpc_dec_t
10
        dec->curtileendoff = 0;
11
    }
12
 
13
-   if (JAS_CAST(int, sot->tileno) > dec->numtiles) {
14
+   if (JAS_CAST(int, sot->tileno) >= dec->numtiles) {
15
        jas_eprintf("invalid tile number in SOT marker segment\n");
16
        return -1;
17
    }
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.