From: Takashi Iwai Subject: Re: [PATCH] pyalsa: fix integer overflow in alsaseq.c Date: Fri, 21 Aug 2009 11:54:03 +0200 Message-ID: References: <2dca5a2a0908181436t3147cc2ax82a23e93fe27e8f1@mail.gmail.com> <2dca5a2a0908181437m7e9e8968x93e7601c5d0a949b@mail.gmail.com> <2dca5a2a0908201213o20a4d695g9852624659f778cf@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 6EC0B2453C for ; Fri, 21 Aug 2009 11:54:03 +0200 (CEST) In-Reply-To: <2dca5a2a0908201213o20a4d695g9852624659f778cf@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Chris Coleman Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 20 Aug 2009 20:13:45 +0100, Chris Coleman wrote: > > I just noticed that `PyString_FromFormat` in Python 2.6 doesn't handle > `%lx` in format strings, so my patch breaks `repr(Constant)`. > > In addition to that, it was not necessary to change the signedness of `value`. > > With those two things in mind, the patch perhaps ought to look like > this (see attached). > > Signed-off-by: Chris Coleman Thanks, applied now. Takashi