bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152)

Also, add a missing call to va_end() in PySys_Audit().
This commit is contained in:
Zackery Spytz 2019-06-21 09:31:59 -06:00 committed by Steve Dower
parent 08970cb03c
commit 08286d52b2
5 changed files with 13 additions and 1 deletions

View file

@ -74,6 +74,9 @@ class AuditTest(unittest.TestCase):
def test_cantrace(self):
self.do_test("test_cantrace")
def test_mmap(self):
self.do_test("test_mmap")
if __name__ == "__main__":
unittest.main()