Mageia Bugzilla – Attachment 13143 Details for
Bug 30060
Package proposals for darktable 3.8.1 and for exiv2 0.27.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Rejectet patch
jp2image.cpp.rej (text/plain), 569 bytes, created by
sturmvogel
on 2022-02-17 20:18:15 CET
(
hide
)
Description:
Rejectet patch
Filename:
MIME Type:
Creator:
sturmvogel
Created:
2022-02-17 20:18:15 CET
Size:
569 bytes
patch
obsolete
>--- src/jp2image.cpp 2021-06-15 09:57:33.000000000 -0400 >+++ src/jp2image.cpp.dlucio 2021-07-04 17:42:08.883791376 -0400 >@@ -245,9 +245,10 @@ static void boxes_check(size_t b,size_t > > if (box.length == 0) return ; > >- if (box.length == 1) >+ if (box.length < 8) > { >- // FIXME. Special case. the real box size is given in another place. >+ // box is broken, so there is nothing we can do here >+ throw Error(kerCorruptedMetadata); > } > > switch(box.type)
--- src/jp2image.cpp 2021-06-15 09:57:33.000000000 -0400 +++ src/jp2image.cpp.dlucio 2021-07-04 17:42:08.883791376 -0400 @@ -245,9 +245,10 @@ static void boxes_check(size_t b,size_t if (box.length == 0) return ; - if (box.length == 1) + if (box.length < 8) { - // FIXME. Special case. the real box size is given in another place. + // box is broken, so there is nothing we can do here + throw Error(kerCorruptedMetadata); } switch(box.type)
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30060
:
13132
|
13133
|
13134
|
13135
|
13136
|
13137
|
13140
|
13141
|
13142
|
13143
|
13144
|
13145