Skip to content

Commit ea65e69

Browse files
committed
Fix a SEGV in _csv.c module by modifying int type to Py_ssize_t
1 parent 180ee43 commit ea65e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_csv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ join_append_data(WriterObj *self, int field_kind, const void *field_data,
11381138
int copy_phase)
11391139
{
11401140
DialectObj *dialect = self->dialect;
1141-
int i;
1141+
Py_ssize_t i;
11421142
Py_ssize_t rec_len;
11431143

11441144
#define INCLEN \

0 commit comments

Comments
 (0)