mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
bpo-30911: Fix a crash in json on platforms with unsigned char (#2684)
when pass bad strict argument.
This commit is contained in:
parent
3fbd70018f
commit
541bd28941
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ static PyTypeObject PyEncoderType;
|
|||
|
||||
typedef struct _PyScannerObject {
|
||||
PyObject_HEAD
|
||||
char strict;
|
||||
signed char strict;
|
||||
PyObject *object_hook;
|
||||
PyObject *object_pairs_hook;
|
||||
PyObject *parse_float;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue