Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed a segmentation fault in the :mod:`csv` module when writing data fields
larger than 2GB due to integer overflow.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit more concise:

Suggested change
Fixed a segmentation fault in the :mod:`csv` module when writing data fields
larger than 2GB due to integer overflow.
Fix an integer overflow in the :mod:`csv` module when writing data
larger than 2GB.

2 changes: 1 addition & 1 deletion Modules/_csv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Loading