Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Masamichi Hosoda
poppler
Commits
ff1ab1b0
Commit
ff1ab1b0
authored
Feb 02, 2019
by
Vincent Le Garrec
Committed by
Albert Astals Cid
Feb 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undefined-shift in StreamPredictor::getNextLine
oss-fuzz/10284
parent
5d2ef36e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
poppler/Stream.cc
poppler/Stream.cc
+2
-1
No files found.
poppler/Stream.cc
View file @
ff1ab1b0
...
...
@@ -35,6 +35,7 @@
// Copyright (C) 2017 Jose Aliste <jaliste@src.gnome.org>
// Copyright (C) 2017 Kay Dohmann <k.dohmann@gmx.net>
// Copyright (C) 2019 Christian Persch <chpe@src.gnome.org>
// Copyright (C) 2019 LE GARREC Vincent <legarrec.vincent@gmail.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
...
...
@@ -712,7 +713,7 @@ bool StreamPredictor::getNextLine() {
j
=
k
=
pixBytes
;
for
(
i
=
0
;
i
<
width
;
++
i
)
{
for
(
kk
=
0
;
kk
<
nComps
;
++
kk
)
{
if
(
inBits
<
nBits
)
{
while
(
inBits
<
nBits
)
{
inBuf
=
(
inBuf
<<
8
)
|
(
predLine
[
j
++
]
&
0xff
);
inBits
+=
8
;
}
...
...
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