summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-11-28 11:47:00 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-11-28 11:47:00 (GMT)
commitd4c0a9c59b399bfa0d36030663f78aa18a68e051 (patch)
tree86bc79d1907b7ca06135eaf0921dbfe11d8451ab /Modules/posixmodule.c
parent5107b4cf5fa4d748bab4022531e6c5741f31e196 (diff)
downloadcpython-d4c0a9c59b399bfa0d36030663f78aa18a68e051.zip
cpython-d4c0a9c59b399bfa0d36030663f78aa18a68e051.tar.gz
cpython-d4c0a9c59b399bfa0d36030663f78aa18a68e051.tar.bz2
Fixes for possible buffer overflows in sprintf() usages.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 667bb20..27e7f1a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -5787,7 +5787,7 @@ static int insertvalues(PyObject *d)
APIRET rc;
ULONG values[QSV_MAX+1];
PyObject *v;
- char *ver, tmp[10];
+ char *ver, tmp[50];
Py_BEGIN_ALLOW_THREADS
rc = DosQuerySysInfo(1, QSV_MAX, &values[1], sizeof(values));