Author izbyshev
Recipients izbyshev, vstinner
Date 2018-11-27.16:15:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543335329.95.0.788709270274.issue35322@psf.upfronthosting.co.za>
In-reply-to
Content
This is because of a leak of 'wstr' at https://github.com/python/cpython/blob/1005c84535191a72ebb7587d8c5636a065b7ed79/Objects/unicodeobject.c#L3476 .

There is another leak and usage of uninitialized 'str' because the following "else if" clause doesn't have a 'return' (probably due to copy-paste from unicode_decode_locale() in 3d4226a832cabc630402589cc671cc4035d504e5).
History
Date User Action Args
2018-11-27 16:15:29izbyshevsetrecipients: + izbyshev, vstinner
2018-11-27 16:15:29izbyshevsetmessageid: <1543335329.95.0.788709270274.issue35322@psf.upfronthosting.co.za>
2018-11-27 16:15:29izbyshevlinkissue35322 messages
2018-11-27 16:15:29izbyshevcreate