[all-commits] [llvm/llvm-project] b2da8e: [clang][bytecode] Fix crash when array index is pa...

camc via All-commits all-commits at lists.llvm.org
Mon Oct 27 07:51:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2da8eff961fc05a51a9de08c40e805e1f19d81a
      https://github.com/llvm/llvm-project/commit/b2da8eff961fc05a51a9de08c40e805e1f19d81a
  Author: camc <69519329+camc at users.noreply.github.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/c.c

  Log Message:
  -----------
  [clang][bytecode] Fix crash when array index is past end of array in C (#165186)

Fixes #165090

Make sure to reject invalid array pointer offsets in C.

Co-authored-by: camc <pushy-crop-cartel at duck.com>



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