[all-commits] [llvm/llvm-project] 1daa48: [lsan] realloc: don't deallocate if requested size...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Mar 29 13:35:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1daa48f005bd477ba8711ecdf91a1f1515f01383
      https://github.com/llvm/llvm-project/commit/1daa48f005bd477ba8711ecdf91a1f1515f01383
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M compiler-rt/lib/lsan/lsan_allocator.cpp
    A compiler-rt/test/lsan/TestCases/realloc_too_big.c

  Log Message:
  -----------
  [lsan] realloc: don't deallocate if requested size is too large

This is the behavior required by the standards.

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




More information about the All-commits mailing list