[poppler] poppler/Stream.cc

2023-04-27 Thread GitLab Mirror
poppler/Stream.cc |9 + 1 file changed, 5 insertions(+), 4 deletions(-) New commits: commit 2cf3cf58ed9f70b99e6ee93c57bb434a52a0e857 Author: Albert Astals Cid Date: Thu Apr 27 11:50:45 2023 +0200 Check overflow in nvals correctly diff --git a/poppler/Stream.cc b/poppler/Strea

[poppler] poppler/Stream.cc

2021-01-05 Thread GitLab Mirror
poppler/Stream.cc | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) New commits: commit d049732d60c8c44f8945f5a99ab6a4d7c252 Author: Albert Astals Cid Date: Tue Jan 5 23:55:46 2021 +0100 Generalize the EOFStream wrapping EOFStream code diff --git a/poppl

[poppler] poppler/Stream.cc

2021-01-03 Thread GitLab Mirror
poppler/Stream.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit af267b33cc42ccb9d1a89e06fed1481657c4b3f0 Author: Albert Astals Cid Date: Sun Jan 3 12:25:01 2021 +0100 Update (C) diff --git a/poppler/Stream.cc b/poppler/Stream.cc index 3518c257..cd1189d4 100

[poppler] poppler/Stream.cc

2021-01-03 Thread GitLab Mirror
poppler/Stream.cc |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) New commits: commit 72183a3ff881316bb470cc0f6db08cf9ef044e53 Author: Albert Astals Cid Date: Sun Jan 3 12:10:55 2021 +0100 Don't wrap EOFStream in an EOFStream It's unneeded and can be relatively easi

[poppler] poppler/Stream.cc

2020-11-20 Thread GitLab Mirror
poppler/Stream.cc | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) New commits: commit cd145d56617e7e7501a0054f42b9068babed3dc5 Author: Albert Astals Cid Date: Fri Nov 20 09:13:34 2020 +0100 Fix rendering of some files StreamPredictor::getNextLine when pred

[poppler] poppler/Stream.cc poppler/Stream.h

2020-09-14 Thread GitLab Mirror
poppler/Stream.cc |2 +- poppler/Stream.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) New commits: commit 56cf80b2c53fa61d29b4718df092248a062c61e0 Author: Albert Astals Cid Date: Mon Sep 14 22:56:15 2020 +0200 Update (C) diff --git a/poppler/Stream.cc b/poppler/Strea

[poppler] poppler/Stream.cc poppler/Stream.h

2019-09-30 Thread GitLab Mirror
poppler/Stream.cc | 50 ++ poppler/Stream.h |4 ++-- 2 files changed, 28 insertions(+), 26 deletions(-) New commits: commit 7b9aa28e5eb613e7a9d7c6c688aea4025a35543a Author: Albert Astals Cid Date: Sun Sep 29 17:59:52 2019 +0200 Also s

[poppler] poppler/Stream.cc

2019-02-27 Thread GitLab Mirror
poppler/Stream.cc |3 +++ 1 file changed, 3 insertions(+) New commits: commit f4136a6353162db249f63ddb0f20611622ab61b4 Author: Albert Astals Cid Date: Wed Feb 27 19:43:22 2019 +0100 ImageStream::getLine: fix crash on broken files Fixes #728 diff --git a/poppler/Stream.cc b/p

[poppler] poppler/Stream.cc

2019-02-06 Thread GitLab Mirror
poppler/Stream.cc |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit ff1ab1b0c9b265df1fd07380cd78ca0daa63d642 Author: Vincent Le Garrec Date: Sat Feb 2 04:25:52 2019 +0100 Undefined-shift in StreamPredictor::getNextLine oss-fuzz/10284 diff --git a/pop

[poppler] poppler/Stream.cc

2018-11-13 Thread GitLab Mirror
poppler/Stream.cc | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) New commits: commit c3a2c11a966a8e260a44716cbb0e26fa437b8f8d Author: Albert Astals Cid Date: Sun Oct 21 11:29:44 2018 +0200 Stream::makeFilter: Fix memory leak fixes oss-fuzz/961

[poppler] poppler/Stream.cc

2018-06-12 Thread Albert Astals Cid
poppler/Stream.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit e4f4cbddd11ae6386985879187007fa5add43624 Author: Albert Astals Cid Date: Tue Jun 12 09:32:57 2018 +0200 StreamPredictor: Move pixBytes calculation after checks fixes oss-fuzz/8835 diff

Re: [poppler] poppler/Stream.cc

2018-05-26 Thread Albert Astals Cid
El dissabte, 26 de maig de 2018, a les 11:17:31 CEST, Adam Reichold va escriure: > Hello, > > Am 26.05.2018 um 10:59 schrieb Albert Astals Cid: > > El dimecres, 23 de maig de 2018, a les 21:46:02 CEST, Adam Reichold va escriure: > >> Hello again, > >> > >> attached the patch. It declares inputB

[poppler] poppler/Stream.cc poppler/Stream.h

2018-05-26 Thread Albert Astals Cid
poppler/Stream.cc |6 +++--- poppler/Stream.h |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) New commits: commit 1bc71245fa88dc23dc355f926f50f04896739fff Author: Adam Reichold Date: Sat May 26 11:54:41 2018 +0200 LZWStream: make inputBuf unsigned since shiftin

Re: [poppler] poppler/Stream.cc

2018-05-26 Thread Adam Reichold
Hello, Am 26.05.2018 um 10:59 schrieb Albert Astals Cid: > El dimecres, 23 de maig de 2018, a les 21:46:02 CEST, Adam Reichold va > escriure: >> Hello again, >> >> attached the patch. It declares inputBuf as unsigned so all bit shifts >> happen on unsigned values. ctest at least seems to be happy

Re: [poppler] poppler/Stream.cc

2018-05-26 Thread Albert Astals Cid
El dimecres, 23 de maig de 2018, a les 21:46:02 CEST, Adam Reichold va escriure: > Hello again, > > attached the patch. It declares inputBuf as unsigned so all bit shifts > happen on unsigned values. ctest at least seems to be happy. Interestingly the automagic fuzzer service says that the issue

[poppler] poppler/Stream.cc

2018-05-24 Thread Albert Astals Cid
poppler/Stream.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit db73587c566f8e50f03b24628e8948a558ee7039 Author: Albert Astals Cid Date: Thu May 24 11:56:39 2018 +0200 StreamPredictor: move rowBytes calculation after overflow check fixes oss-fuzz/84

Re: [poppler] poppler/Stream.cc

2018-05-23 Thread Adam Reichold
Hello again, attached the patch. It declares inputBuf as unsigned so all bit shifts happen on unsigned values. ctest at least seems to be happy. It does build without the casts as well but I am not completely sure about the language legalese behind this and hence left them in and also for explici

Re: [poppler] poppler/Stream.cc

2018-05-23 Thread Albert Astals Cid
El dimecres, 23 de maig de 2018, a les 8:57:27 CEST, Adam Reichold va escriure: > Hello, > > maybe the simplest solution would to turn inputBuf into an unsigned int > and convert to signed int after extracting the bits out of it? Yeah that sounds like a plan, could you try to produce a patch so

Re: [poppler] poppler/Stream.cc

2018-05-22 Thread Adam Reichold
Hello, maybe the simplest solution would to turn inputBuf into an unsigned int and convert to signed int after extracting the bits out of it? Best regards, Adam Am 23.05.2018 um 00:24 schrieb Albert Astals Cid: > poppler/Stream.cc |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

[poppler] poppler/Stream.cc

2018-05-22 Thread Albert Astals Cid
poppler/Stream.cc |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) New commits: commit 58e056c4b15f262b7715f8061d6885eb80044d0d Author: Albert Astals Cid Date: Wed May 23 00:23:19 2018 +0200 Revert 31c3832b996acbf04ea833e304d7d21ac4533a57 So shifting left negative valu

[poppler] poppler/Stream.cc

2018-05-22 Thread Albert Astals Cid
poppler/Stream.cc |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) New commits: commit 31c3832b996acbf04ea833e304d7d21ac4533a57 Author: Albert Astals Cid Date: Tue May 22 20:25:18 2018 +0200 LZWStream::getCode: Don't left shift negative values it's undefined behaviour

[poppler] poppler/Stream.cc

2018-05-22 Thread Albert Astals Cid
poppler/Stream.cc |1 + 1 file changed, 1 insertion(+) New commits: commit 0c0c368fed70c1db64ce04b135fd5b060a1f0653 Author: Albert Astals Cid Date: Tue May 22 18:26:29 2018 +0200 LZWStream::clearTable: init newChar to 0 it should not be needed because on well formed streams i

[poppler] poppler/Stream.cc

2017-10-23 Thread Albert Astals Cid
poppler/Stream.cc | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) New commits: commit d72f0383b959d8495a452d2d32377e588b15ad65 Author: Kay Dohmann Date: Mon Oct 23 23:31:13 2017 +0200 Tweak LZWStream::processNextCode Fixes file attached at bug 103174 and

[poppler] poppler/Stream.cc

2017-06-21 Thread Albert Astals Cid
poppler/Stream.cc |7 +++ 1 file changed, 7 insertions(+) New commits: commit 733c8faf3034f94b632c65dd091911bc642dcae4 Author: Jose Aliste Date: Tue May 16 18:44:49 2017 -0400 Check numComps is between reasonable bounds Before this patch, some PDF might crash because of a

[poppler] poppler/Stream.cc

2017-06-20 Thread Albert Astals Cid
poppler/Stream.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit b2bbe5d5bc241c82575bf9987d295d91998ddebc Author: Albert Astals Cid Date: Tue Jun 20 23:58:26 2017 +0200 Fix crash in malformed document Bug #101526 diff --git a/poppler/Stream.cc b/pop

[poppler] poppler/Stream.cc

2016-05-24 Thread Albert Astals Cid
poppler/Stream.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 5f51939eea5b98dcef115d18baec3179701d0292 Author: Albert Astals Cid Date: Tue May 24 23:34:48 2016 +0200 Fix stack overflow Bug #96027 diff --git a/poppler/Stream.cc b/poppler/Stream.cc

[poppler] poppler/Stream.cc

2016-05-23 Thread Albert Astals Cid
poppler/Stream.cc |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 9ce8dd7fbd132b5f423dc3bf10fa87b973390d0b Author: Albert Astals Cid Date: Mon May 23 23:59:40 2016 +0200 Fix stack overflow on broken file Bug #95567 diff --git a/poppler/Stream.cc

[poppler] poppler/Stream.cc

2015-09-06 Thread Albert Astals Cid
poppler/Stream.cc | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) New commits: commit 1e1a2d0600153c98d44f65e83a0555ab5288450b Author: Jason Crain Date: Sun Sep 6 22:33:02 2015 +0200 Fix JBIG2Decode infinite loop and stack overflow Creating a JBIG2Decode filter

[poppler] poppler/Stream.cc

2013-06-16 Thread Albert Astals Cid
poppler/Stream.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 714ee1e61d853394818dca7155b1b882408ffc6a Author: Albert Astals Cid Date: Sun Jun 16 19:00:01 2013 +0200 Pass down the recursion param Fixes heap smashing in 168.pdf.SIGSEGV.598.462 dif

[poppler] poppler/Stream.cc poppler/Stream.h

2013-01-27 Thread Pino Toscano
poppler/Stream.cc |2 +- poppler/Stream.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) New commits: commit f3aa5236361dca3db64f110520ebe721ba1c9464 Author: Pino Toscano Date: Sun Jan 27 18:50:10 2013 +0100 use Goffset also for length in MemStream ctor diff --git a/pop

[poppler] poppler/Stream.cc

2013-01-09 Thread Albert Astals Cid
poppler/Stream.cc |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) New commits: commit b1026b5978c385328f2a15a2185c599a563edf91 Author: Albert Astals Cid Date: Wed Jan 9 22:17:09 2013 +0100 Initialize refLine totally Fixes uninitialized memory read in 1004.pdf.asan

[poppler] poppler/Stream.cc

2012-12-27 Thread Albert Astals Cid
poppler/Stream.cc |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) New commits: commit 2017dbebd9afd4f172242ff8462fce739d911e64 Author: Even Rouault Date: Fri Dec 28 00:30:13 2012 +0100 Do not crash on 0 or negative nBits values diff --git a/poppler/Stream.cc b/poppler/Strea

[poppler] poppler/Stream.cc

2012-04-29 Thread Albert Astals Cid
poppler/Stream.cc |3 +++ 1 file changed, 3 insertions(+) New commits: commit 50c0b294d08114920a5db711876e20d991f474a6 Author: Albert Astals Cid Date: Sun Apr 29 22:33:09 2012 +0200 Make sure the index to dcHuffTables and acHuffTables is in bounds Found in a fuzzed pdf sent b

[poppler] poppler/Stream.cc

2012-02-23 Thread Albert Astals Cid
poppler/Stream.cc |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit 675ef2bda3c4e06b39e2ba09b3b19d99cfb001b6 Author: Oliver Sander Date: Thu Feb 23 23:22:50 2012 +0100 Compile diff --git a/poppler/Stream.cc b/poppler/Stream.cc index d5f4e0c..04aac31 100644 --

[poppler] poppler/Stream.cc poppler/Stream.h

2012-02-18 Thread Albert Astals Cid
poppler/Stream.cc | 26 -- poppler/Stream.h |3 +++ 2 files changed, 23 insertions(+), 6 deletions(-) New commits: commit 9b72ee4e4c8658b2f7cd542d601a5c3be621d3fc Author: Thomas Freitag Date: Sat Feb 18 17:34:12 2012 +0100 Make some of the unfilteredResets b

[poppler] poppler/Stream.cc poppler/Stream.h

2011-06-24 Thread Albert Astals Cid
poppler/Stream.cc |1 + poppler/Stream.h |1 + 2 files changed, 2 insertions(+) New commits: commit 00076bc308ae320244c4fe351c1c2bef2da8 Author: Albert Astals Cid Date: Fri Jun 24 22:51:55 2011 +0100 Forgot William's (C) here diff --git a/poppler/Stream.cc b/poppler/Stream.c

[poppler] poppler/Stream.cc poppler/XRef.cc splash/SplashBitmap.cc splash/Splash.cc splash/SplashErrorCodes.h

2009-10-16 Thread Albert Astals Cid
poppler/Stream.cc |4 poppler/XRef.cc | 19 +++ splash/Splash.cc |7 +++ splash/SplashBitmap.cc| 37 ++--- splash/SplashErrorCodes.h |4 +++- 5 files changed, 59 insertions(+), 12 deletions(-)

[poppler] poppler/Stream.cc

2009-10-16 Thread Albert Astals Cid
poppler/Stream.cc |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit c2458275e02f56226779b82d73c13defcbbda563 Author: Glenn Ganz Date: Fri Oct 16 20:54:32 2009 +0200 fix constructor of DCTStream diff --git a/poppler/Stream.cc b/poppler/Stream.cc index 01efcd6.

[poppler] poppler/Stream.cc

2008-08-02 Thread Albert Astals Cid
poppler/Stream.cc |1 - 1 file changed, 1 deletion(-) New commits: commit 66b34c78943be598778a3ef438b0cefac668c6a2 Author: Albert Astals Cid <[EMAIL PROTECTED]> Date: Sat Aug 2 13:54:34 2008 +0200 This should not be here, breaks jpeg rendering when not using libjpeg That was i

[poppler] poppler/Stream.cc

2007-11-08 Thread Albert Astals Cid
poppler/Stream.cc | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) New commits: commit 1b3f045a25e5d172357bc87c15ba591c8e1511a7 Author: Albert Astals Cid <[EMAIL PROTECTED]> Date: Thu Nov 8 23:34:07 2007 +0100 Move another gmallocn to gmallocn_checkoverflow. F

[poppler] poppler/poppler: Stream.cc,1.14,1.15 Stream.h,1.10,1.11

2007-01-13 Thread Albert Astals Cid
am.cc === RCS file: /cvs/poppler/poppler/poppler/Stream.cc,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- Stream.cc 13 Jan 2007 17:56:07 - 1.14 +++ Stream.cc 13 Jan 2007 23:19:21 - 1.15 @@ -806,11 +806,6 @@ } } -void MemS

[poppler] poppler/poppler: Stream.cc,1.13,1.14 Stream.h,1.9,1.10

2007-01-13 Thread Albert Astals Cid
/poppler-private.h: * qt4/src/poppler-qt4.h: Add Document::loadFromData method Index: Stream.cc === RCS file: /cvs/poppler/poppler/poppler/Stream.cc,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14

[poppler] poppler/poppler: Stream.cc,1.12,1.13

2006-07-27 Thread Albert Astals Cid
=== RCS file: /cvs/poppler/poppler/poppler/Stream.cc,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- Stream.cc 28 Feb 2006 19:59:58 - 1.12 +++ Stream.cc 27 Jul 2006 18:17:50 - 1.13 @@ -421,13 +421,13