Add argument check for PyDict_Next
In PyDict_Next, the 3rd argument `pkey` and 4th argument pvalue could be NULL. lxml will try to call it by PyDict_Next(kwdict, &pos, &key, 0). And a check like CPython did.
Showing
Please register or sign in to comment