You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: 11 semantic integrity bugs in ACL, JNI proxy, and generators
ACL security fixes:
- ApproveRequest/DenyRequest now require status='pending', preventing
re-approval of denied requests or re-denial of approved ones
- RevokeClient deletes orphaned pending_requests, preventing re-granting
access to revoked clients via stale pending requests
- Reject empty CommonName in Register to prevent shared identity
JNI proxy correctness fixes:
- Guard GetByteArrayData against zero-length arrays (panic on &data[0])
- Close all pending callback channels on Proxy stream exit, preventing
permanent JVM thread deadlock on in-flight callbacks
- Return InvalidArgument from SetField/SetStaticField when value is nil
instead of silently no-oping
- Release voidDetector global JNI ref on stream close (leak per stream)
- Release callback argument handles after response received (global ref leak)
- Remove TOCTOU pre-check in ReleaseHandle; Release is already atomic
Also fix m.Error→m.HasError field name in grpcgen server/client builders
(introduced by prior subagent, caught by test).
0 commit comments