diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-19 02:58:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 02:58:14 +0100 |
commit | faddaedd05ca81a9fed3f315e7bc8dcf455824a2 (patch) | |
tree | 90679ab39bba190bd5cfa055ae3f564255d29495 /Python/pystate.c | |
parent | 5f9cf23502febe0eb3bc02e45c7d2bfc79424757 (diff) | |
download | cpython-git-faddaedd05ca81a9fed3f315e7bc8dcf455824a2.tar.gz |
bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c (GH-12423)
* Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c.
* Pass string length to functions modifying strings.
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions