commit | eb61f8b3a726a8cd1ae3bc3794623e7fe4dd5703 | [log] [tgz] |
---|---|---|
author | Ronald Oussoren <ronaldoussoren@mac.com> | Wed Aug 22 14:24:14 2012 +0200 |
committer | Ronald Oussoren <ronaldoussoren@mac.com> | Wed Aug 22 14:24:14 2012 +0200 |
tree | bc039fa286bfb3a28b295f719cb12b1939e16986 | |
parent | ee253ebf6265741dd3f747965dfa753e68532353 [diff] |
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X. This is due to an off-by-one error: the allocated buffer didn't have room for a NUL character at the end of the mbstowcs result.