Commit 4d8cf97
committed
Fix vectorcall_native_function kwarg slice out-of-bounds
When needs_self was true and kwargs were present, pos_args only
contained positional args (self + original positionals) but
from_vectorcall expected kwarg values to follow in the slice.
Build the full args array (self + all original args including kwarg
values) before passing to from_vectorcall.1 parent 981dafd commit 4d8cf97
1 file changed
+4
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
261 | 250 | | |
262 | 251 | | |
263 | 252 | | |
| |||
0 commit comments