Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
70fed019
Commit
70fed019
authored
Aug 28, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 03-CVE-2011-4516-and-CVE-2011-4517 patch from debian libjasper-dev (1.900.1-13) package
parent
c7db1c1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
jpc_cs.c
3rdparty/libjasper/jpc_cs.c
+5
-1
No files found.
3rdparty/libjasper/jpc_cs.c
View file @
70fed019
...
@@ -743,6 +743,10 @@ static int jpc_cox_getcompparms(jpc_ms_t *ms, jpc_cstate_t *cstate,
...
@@ -743,6 +743,10 @@ static int jpc_cox_getcompparms(jpc_ms_t *ms, jpc_cstate_t *cstate,
return
-
1
;
return
-
1
;
}
}
compparms
->
numrlvls
=
compparms
->
numdlvls
+
1
;
compparms
->
numrlvls
=
compparms
->
numdlvls
+
1
;
if
(
compparms
->
numrlvls
>
JPC_MAXRLVLS
)
{
jpc_cox_destroycompparms
(
compparms
);
return
-
1
;
}
if
(
prtflag
)
{
if
(
prtflag
)
{
for
(
i
=
0
;
i
<
compparms
->
numrlvls
;
++
i
)
{
for
(
i
=
0
;
i
<
compparms
->
numrlvls
;
++
i
)
{
if
(
jpc_getuint8
(
in
,
&
tmp
))
{
if
(
jpc_getuint8
(
in
,
&
tmp
))
{
...
@@ -1330,7 +1334,7 @@ static int jpc_crg_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in
...
@@ -1330,7 +1334,7 @@ static int jpc_crg_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in
jpc_crgcomp_t
*
comp
;
jpc_crgcomp_t
*
comp
;
uint_fast16_t
compno
;
uint_fast16_t
compno
;
crg
->
numcomps
=
cstate
->
numcomps
;
crg
->
numcomps
=
cstate
->
numcomps
;
if
(
!
(
crg
->
comps
=
jas_alloc2
(
cstate
->
numcomps
,
sizeof
(
uint_fast16
_t
))))
{
if
(
!
(
crg
->
comps
=
jas_alloc2
(
cstate
->
numcomps
,
sizeof
(
jpc_crgcomp
_t
))))
{
return
-
1
;
return
-
1
;
}
}
for
(
compno
=
0
,
comp
=
crg
->
comps
;
compno
<
cstate
->
numcomps
;
for
(
compno
=
0
,
comp
=
crg
->
comps
;
compno
<
cstate
->
numcomps
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment