New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 678161 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Undefined-shift in CJBig2_HuffmanTable::ParseFromCodedBuffer

Project Member Reported by ClusterFuzz, Jan 4 2017

Issue description

Cc: msrchandra@chromium.org
Labels: Test-Predator-Correct-CLs
Owner: dsinclair@chromium.org
Status: Assigned (was: Untriaged)
Assigning to the concern owner from Find it results --
The result is a list of CLs that change the crashed files. 

Author: Dan Sinclair
Project: chromium-pdfium
Changelist: https://pdfium.googlesource.com/pdfium.git/+/5e3b976529f18deb389ed608da88b895eb115d72
Time: Tue Jan 03 14:57:14 2017 -0500
Lines 72-77 of file JBig2_HuffmanTable.cpp which potentially caused crash are changed in this cl (frame #0, "CJBig2_HuffmanTable::ParseFromCodedBuffer").
Minimum distance from crash line to modified line: 0. (file: JBig2_HuffmanTable.cpp, crashed on: 72, modified: 72).

@Dan Sinclair -- Could you please look into the issue, kindly re-assign if this is not related to your changes.
Thank You.
Project Member

Comment 2 by ClusterFuzz, Mar 27 2017

ClusterFuzz has detected this issue as fixed in range 459701:459705.

Detailed report: https://clusterfuzz.com/testcase?key=5427899936276480

Fuzzer: libfuzzer_pdf_codec_jbig2_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Undefined-shift
Crash Address: 
Crash State:
  CJBig2_HuffmanTable::ParseFromCodedBuffer
  CJBig2_HuffmanTable::CJBig2_HuffmanTable
  CJBig2_Context::parseTable
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=441189:441247
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=459701:459705

Reproducer Testcase: https://clusterfuzz.com/download/AMIfv96-KPuMoN97CXcU5d6zODRgH7Sc0QTeexohoZYYd_of2Oj9GHtjOP7cjBbqGOUco4L65RqcrZoYF-1TttPiuzUu26YTP7o9U5eaRKrnsbxfJ0PsnieNsmGpjWowGaFGN7LSXJAYjavwX3iCzbvatAsQRJEnZcXHyxFLnLhtDFPYgmaqrFp5n_Zu-6_mSDFZyt78tQQ7f43r4h1GxAhglGdPBEa_BqJdL-YAkl4-pqgxPylQLctBU0rWRraDQcNRVYurUjHVSORcrfIDLzdsERzq_1ZVT7tx_wDOHp-kNB_KsO08cTKj2keDPlLrNj92mCzQoxJfVo1M3Zf8ZVgigyPX1LTyk2_GKXbdRjMtvug_Km12-mA?testcase_id=5427899936276480


See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 3 by ClusterFuzz, Mar 27 2017

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 5427899936276480 is verified as fixed, so closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Components: Internals>Plugins>PDF

Sign in to add a comment