[all-commits] [llvm/llvm-project] 6c0625: [libc++] Fix erroneous internal capacity evaluatio...

Peng Liu via All-commits all-commits at lists.llvm.org
Thu Jan 9 01:46:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c06253b8557102c52e252f9025ea3d393603324
      https://github.com/llvm/llvm-project/commit/6c06253b8557102c52e252f9025ea3d393603324
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M libcxx/include/__vector/vector_bool.h
    M libcxx/test/std/containers/sequences/vector.bool/flip.pass.cpp

  Log Message:
  -----------
  [libc++] Fix erroneous internal capacity evaluation in vector<bool> (#120577)

This PR fixes the erroneous internal capacity evaluation in
`vector<bool>`, which caused a subsequent SIGSEGV error when calling
`flip()` on `vector<bool>`. By fixing the internal capacity evaluation,
the SIGSEGV is automatically resolved.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list