diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-13 14:31:42 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-13 14:31:42 +0300 |
| commit | 21ed685fb7e64c4dc36250c67832d594fc119307 (patch) | |
| tree | 2ca07dba12a1908045240afe037027617a87474e /internal/eventloop_runtime.go | |
| parent | a73b7973531f2b8632269a8c8359acf69ee61f45 (diff) | |
fix: avoid int64->int truncation in NumericFilter.EqValue on 32-bit arch
EqValue() previously returned int, silently truncating int64 values that
exceed math.MaxInt32 on 32-bit architectures. Change the return type to
int64 and update callers (ior.go, filterstack.go) with explicit int()
casts that are safe because Linux PID/TID values never exceed 4194304.
Add TestEqValueReturnsInt64PreservesLargeValues to guard the fix.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/eventloop_runtime.go')
0 files changed, 0 insertions, 0 deletions
