[llvm-bugs] Issue 60381 in oss-fuzz: llvm:clang-format-fuzzer: Null-dereference READ in clang::format::TokenAnnotator::calculateFormattingInformation

ClusterFuzz-External via monorail via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 4 19:34:10 PDT 2023


Status: New
Owner: ----
CC: kcc at google.com, mascasa at google.com, igm... at gmail.com, sammccall at google.com, davg at google.com, mitchp at google.com, bigch... at gmail.com, eneyman at google.com, llvm-... at lists.llvm.org, jo... at devlieghere.com, jfb at chromium.org, v... at apple.com, mitch... at outlook.com, xpl... at gmail.com, akils... at apple.com 
Labels: ClusterFuzz Stability-Memory-AddressSanitizer Reproducible Engine-libfuzzer OS-Linux Proj-llvm Reported-2023-07-05
Type: Bug

New issue 60381 by ClusterFuzz-External: llvm:clang-format-fuzzer: Null-dereference READ in clang::format::TokenAnnotator::calculateFormattingInformation
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60381

Detailed Report: https://oss-fuzz.com/testcase?key=6489938917720064

Project: llvm
Fuzzing Engine: libFuzzer
Fuzz Target: clang-format-fuzzer
Job Type: libfuzzer_asan_llvm
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x0000000000d8
Crash State:
  clang::format::TokenAnnotator::calculateFormattingInformation
  clang::format::TokenAnnotator::calculateFormattingInformation
  clang::format::TokenAnnotator::calculateFormattingInformation
  
Sanitizer: address (ASAN)

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_llvm&range=202306290609:202307040615

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=6489938917720064

Issue filed automatically.

See https://google.github.io/oss-fuzz/advanced-topics/reproducing for instructions to reproduce this bug locally.
When you fix this bug, please
  * mention the fix revision(s).
  * state whether the bug was a short-lived regression or an old bug in any stable releases.
  * add any other useful information.
This information can help downstream consumers.

If you need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues. Comments on individual Monorail issues are not monitored.

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20230704/798e7949/attachment-0001.html>


More information about the llvm-bugs mailing list