From: Christian Heimes Date: Wed, 12 Sep 2012 13:32:06 +0000 (+0200) Subject: Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b... X-Git-Tag: v3.3.1rc1~818^2^2~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ae251a0256686a0583a371a0c6421b6fd8366bf;p=python Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359 --- 7ae251a0256686a0583a371a0c6421b6fd8366bf