gh-129409: Fix Integer overflow - SEGV while writing data more than 2GB in CSV file (#129413)
This commit is contained in:
committed by
GitHub
parent
4815131910
commit
97b0ef05d9
@@ -0,0 +1,2 @@
|
||||
Fix an integer overflow in the :mod:`csv` module when writing a data field
|
||||
larger than 2GB.
|
||||
@@ -1138,7 +1138,7 @@ join_append_data(WriterObj *self, int field_kind, const void *field_data,
|
||||
int copy_phase)
|
||||
{
|
||||
DialectObj *dialect = self->dialect;
|
||||
int i;
|
||||
Py_ssize_t i;
|
||||
Py_ssize_t rec_len;
|
||||
|
||||
#define INCLEN \
|
||||
|
||||
Reference in New Issue
Block a user