Commit 8766c56
committed
fix: add bounds checking for page/count before uint64 conversion in SCIM
Addresses gosec G115 integer overflow vulnerability by ensuring page and count
values are non-negative before converting to uint64 in pagination parameters.1 parent e6cc59f commit 8766c56
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
0 commit comments