Message318260
When testing Python 3.7.0b5 x64 (and betas before) on Windows 10, I occasionally get segfaults when passing a program as string on the command line. The shortest command to reproduce this on my system is `python.exe -c 1` with heap detection turned on but that might not be reproducible on other systems.
It turns out there is a buffer over-read when copying the `PyOS_optarg` string in `main.c`. The attached patch fixes the segfault on my system. |
|
| Date |
User |
Action |
Args |
| 2018-05-31 06:31:10 | cgohlke | set | recipients:
+ cgohlke |
| 2018-05-31 06:31:10 | cgohlke | set | messageid: <[email protected]> |
| 2018-05-31 06:31:10 | cgohlke | link | issue33706 messages |
| 2018-05-31 06:31:10 | cgohlke | create | |
|