mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.13] gh-129409: Fix Integer overflow - SEGV while writing data more than 2GB in CSV file (GH-129413) (#129436)
gh-129409: Fix Integer overflow - SEGV while writing data more than 2GB in CSV file (GH-129413)
(cherry picked from commit 97b0ef05d9
)
Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
This commit is contained in:
parent
8597be4613
commit
48b87d14e8
2 changed files with 3 additions and 1 deletions
|
@ -1116,7 +1116,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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue