[all-commits] [llvm/llvm-project] a7d0b7: ld128 demangle: allow space for 'L' suffix.

enh-google via All-commits all-commits at lists.llvm.org
Tue Aug 18 16:14:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a7d0b7a786c769440143acb94f533149faac12c9
      https://github.com/llvm/llvm-project/commit/a7d0b7a786c769440143acb94f533149faac12c9
  Author: Elliott Hughes <enh at google.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M libcxxabi/test/test_demangle.pass.cpp
    M llvm/include/llvm/Demangle/ItaniumDemangle.h

  Log Message:
  -----------
  ld128 demangle: allow space for 'L' suffix.

Summary:
Caught by HWASAN on arm64 Android (which uses ld128 for long double). This
was running the existing fuzzer.

The specific minimized fuzz input to reproduce this is:

  __cxa_demangle("1\006ILeeeEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE", 0, 0, 0);

Reviewers: eugenis, srhines, #libc_abi!

Subscribers: kristof.beyls, danielkiss, libcxx-commits

Tags: #libc_abi

Differential Revision: https://reviews.llvm.org/D77924




More information about the All-commits mailing list