diff options
| author | Marc-André Lemburg <mal@egenix.com> | 2001-11-28 11:47:00 +0000 |
|---|---|---|
| committer | Marc-André Lemburg <mal@egenix.com> | 2001-11-28 11:47:00 +0000 |
| commit | 11df42bde07c01b01c0abf8e2a5248e53d74613e (patch) | |
| tree | 2c2bc10bc3b26d5e94388e37571cb99002f8979c /Python/dynload_win.c | |
| parent | a0b999dff248b8f49f851dca18fba8e5c06306a6 (diff) | |
| download | cpython-11df42bde07c01b01c0abf8e2a5248e53d74613e.tar.gz | |
Fixes for possible buffer overflows in sprintf() usages.
Diffstat (limited to 'Python/dynload_win.c')
| -rw-r--r-- | Python/dynload_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c index a5a65cf007..155a9d6432 100644 --- a/Python/dynload_win.c +++ b/Python/dynload_win.c @@ -232,7 +232,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, if (import_python && strcasecmp(buffer,import_python)) { sprintf(buffer, - "Module use of %s conflicts " + "Module use of %.150s conflicts " "with this version of Python.", import_python); PyErr_SetString(PyExc_ImportError,buffer); |
