[all-commits] [llvm/llvm-project] bda7c9: [libc++][hardening] Add checks to `forward_list` e...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Mon Jan 6 12:50:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bda7c9ac79fe841d39084f73730d0b3ffa3b101b
      https://github.com/llvm/llvm-project/commit/bda7c9ac79fe841d39084f73730d0b3ffa3b101b
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M libcxx/docs/Hardening.rst
    M libcxx/include/forward_list
    A libcxx/test/libcxx/containers/sequences/forwardlist/assert.pass.cpp

  Log Message:
  -----------
  [libc++][hardening] Add checks to `forward_list` element access. (#120858)

In our implementation, failing these checks would result in a null
pointer access rather than an out-of-bounds access.



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