[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492917: marked as done (python-pyao: parsing arguments 64bit issues)

Your message dated Tue, 27 Apr 2010 22:12:32 +0000
with message-id <E1O6t16-0000XU-PR@ries.debian.org>
and subject line Bug#492917: fixed in pyao 0.82-3
has caused the Debian Bug report #492917,
regarding python-pyao: parsing arguments 64bit issues
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

492917: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492917
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-pyao
Version: 0.82-2
Severity: important

src/aomodule.c uses 's|llll0!sl' and 'i|llll0!sl' as format strings
for parsing the arguments passed to the constructor of ao.AudioDevice,
thus parsing the arguments as 'long int'. 

Whereas the arguments are defined as 'int'.
See /usr/include/ao/ao.h:

  typedef struct ao_sample_format {
      int bits; /* bits per sample */
      int rate; /* samples per second (in a single channel) */
      int channels; /* number of audio channels */
      int byte_format; /* Byte ordering in sample, see constants below */
  } ao_sample_format;

On 64 bit systems a 'long int' is 8 bytes and and 'int' is 4, thus overwritting
other values, when parsing.

Solution: Use format strings 's|iiii0!si' and 'i|iiii0!si' instead.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-jp2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pyao depends on:
ii  libao2                        0.8.8-4    Cross Platform Audio Output Librar
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

python-pyao recommends no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pyao
Source-Version: 0.82-3

We believe that the bug you reported is fixed in the latest version of
pyao, which is due to be installed in the Debian FTP archive:

  to main/p/pyao/pyao_0.82-3.diff.gz
  to main/p/pyao/pyao_0.82-3.dsc
  to main/p/pyao/python-pyao_0.82-3_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 492917@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Adam D. Barratt <adam@adam-barratt.org.uk> (supplier of updated pyao package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA256

Format: 1.8
Date: Mon, 26 Apr 2010 23:59:46 +0100
Source: pyao
Binary: python-pyao
Architecture: source amd64
Version: 0.82-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam D. Barratt <adam@adam-barratt.org.uk>
 python-pyao - A Python interface to the Audio Output library
Closes: 492772 492917 577345
 pyao (0.82-3) unstable; urgency=low
   * QA upload.
   * src/aomodule.{c,h}:
     + Add a driver_id property to ao_Object, allowing building with libao4
       which has made the ao_device structure opaque.  Thanks, Julien Cristau.
       (Closes: #577345)
     + Use "i" in format strings when referring to arguments of type "int".
       Thanks, Philipp Jocham.  (Closes: #492917)
     + Fix FTBFS with Python 2.5.  Thanks to Philipp Jocham for the patch.
       (Closes: #492772)
   * debian/copyright: Use correct path to the common-licenses copy of
     version 2 of the GPL.
   * debian/control:
     + Add ${misc:Depends}.
     + Bump Standards-Version to 3.8.4; no changes necessary.
 9bac1dd8252b2d1933684342c7bb82f1b806265f 1666 pyao_0.82-3.dsc
 c31793126b3d46b66bf73114bcee06a6343246d9 3055 pyao_0.82-3.diff.gz
 401ccec2fa84954eeedec8409455fdad1cd8dacf 13560 python-pyao_0.82-3_amd64.deb
 a075465bc6603e79115e6e77069b737aa07b2afb624cd228b6f0882b2f94cc61 1666 pyao_0.82-3.dsc
 4cfd3cf6097e4722bcfb18aa5d33fdd9f83e7a8590973aac6331c7bdb7f15492 3055 pyao_0.82-3.diff.gz
 d425a1397f115cbdefb83e41fec5b2ae1edd7538f4e48b92ead41ef3d0130000 13560 python-pyao_0.82-3_amd64.deb
 d207678efc0f9c2610f7a5b1f4bfd640 1666 python extra pyao_0.82-3.dsc
 b3332c376ee1172566c9ebcffa4d41f3 3055 python extra pyao_0.82-3.diff.gz
 578bb16637d8516013753f17a68505d9 13560 python extra python-pyao_0.82-3_amd64.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: