Highlights
Memory Corruption: 1 prior fix. Scrutinize any change in this area.
LLama/Native/SafeLLamaSamplerHandle.cs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Memory Corruption: Mismatched native types and incorrect pointer indirection when marshalling the LLamaSamplerINative interface allow for memory corruption and access violations during native sampler operations. Developers must strictly enforce correct P/Invoke signatures and safe handle types when bridging managed and unmanaged memory surfaces.