Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

bytedeco/javacpp
master @ 2ae34a7
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Memory Corruption: 2 prior fixes. Scrutinize any change in this area.
Generator.java: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes 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: Returning elements by value led to const references binding to temporary variables that were destroyed prematurely, causing unsafe memory access in VectorAdapter and StringAdapter.
Memory Corruption: Improper adapter lifetime correction when using @ByRef or adapter wrappers on native functions returning C++ objects by value leads to critical memory corruption issues.