Commit db5f183
committed
Fix negative flag value wrapping in execution results command
Add validation to ensure limit and offset flags are non-negative before casting to unsigned types. This prevents negative values from wrapping to large positive numbers (e.g., uint64(-1) = 18446744073709551615).1 parent c9274b4 commit db5f183
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
0 commit comments