Commit fb34fc262 for llama.cpp

commit fb34fc262c1b43f1832c7472429fb2247d650493
Author: Foad Abo Dahood <32059146+masterFoad@users.noreply.github.com>
Date:   Mon Sep 21 20:31:56 2026 +0300

    metal : fix mask bounds in flash attention block pre-pass (#29220)

diff --git a/ggml/src/ggml-metal/kernels/fa.metal b/ggml/src/ggml-metal/kernels/fa.metal
index 71e6e373e..f26d493d5 100644
--- a/ggml/src/ggml-metal/kernels/fa.metal
+++ b/ggml/src/ggml-metal/kernels/fa.metal
@@ -142,7 +142,7 @@ kernel void kernel_flash_attn_ext_blk(
     const int32_t i1 = tgpig[1];
     const int32_t i0 = tgpig[0];

-    char res = i0*C + C > args.ne30 ? 1 : 0;
+    char res = i0*C + C > args.ne30 || i1*Q + Q > args.ne31 ? 1 : 0;

     device const half * mask_src = (device const half *) (mask + (i1*Q)*args.nb31 + i2*args.nb32 + i3*args.nb33) + i0*C + tiisg;