[all-commits] [llvm/llvm-project] 48931e: [clang][bytecode] Check memcmp builtin for one-pas...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Dec 1 03:43:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48931e5e5942304afd1c0a493be91b662ffd221b
      https://github.com/llvm/llvm-project/commit/48931e5e5942304afd1c0a493be91b662ffd221b
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp

  Log Message:
  -----------
  [clang][bytecode] Check memcmp builtin for one-past-the-end pointers (#170097)

We can't read from those and will run into an assertion sooner or later.

Fixes https://github.com/llvm/llvm-project/issues/170031



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