Commit 8d31294
src: CHECK() for argument overflow in Spawn()
This commit adds checks for overflow to args and env in Spawn().
It seems extremely unlikely that either of these values would
overflow from a valid use case.
Fixes: #15622
PR-URL: #16761
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>1 parent 2f1f7e1 commit 8d31294Copy full SHA for 8d31294
File tree
Expand file treeCollapse file tree
1 file changed
+3
-0
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+3
-0
lines changedOpen diff view settings
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
185 | 185 | |
186 | 186 | |
187 | 187 | |
| 188 | + |
| 189 | + |
188 | 190 | |
189 | 191 | |
190 | 192 | |
| ||
211 | 213 | |
212 | 214 | |
213 | 215 | |
| 216 | + |
214 | 217 | |
215 | 218 | |
216 | 219 | |
|
0 commit comments