mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Fixes for possible buffer overflows in sprintf() usages.
This commit is contained in:
parent
5107b4cf5f
commit
d4c0a9c59b
8 changed files with 17 additions and 22 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue