[Bug 1063350] Re: curl corrupts floating point context

Chris J Cheney 1063350 at bugs.launchpad.net
Thu Jul 18 12:15:45 UTC 2013


Comment #32 dated 2013-04-05: "This bug was fixed in the package pycurl
- 7.19.0-5ubuntu7"

The fix has not yet got back to (X)ubuntu 12.04(.2) LTS - considering it
is a security-related isssue (securely identifying repositories in add-
apt-repository), its backporting should surely be given some urgency -
please!

+ sudo true
+ uname -a
Linux Shuttle01 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:40:13 UTC 2013 i686 athlon i386 GNU/Linux
+ grep -E 'name|flags' /proc/cpuinfo
model name	: AMD Athlon(tm) XP 2500+
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
+ sudo add-apt-repository ppa:libreoffice/libreoffice-4-0
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 99, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 132, in add_ppa_signing_key
    tmp_keyring_dir = tempfile.mkdtemp()
  File "/usr/lib/python2.7/tempfile.py", line 322, in mkdtemp
    name = names.next()
  File "/usr/lib/python2.7/tempfile.py", line 141, in next
    letters = [choose(c) for dummy in "123456"]
  File "/usr/lib/python2.7/random.py", line 274, in choice
    return seq[int(self.random() * len(seq))]  # raises IndexError if seq is empty
ValueError: cannot convert float NaN to integer

You are about to add the following PPA to your system:
 LibreOffice 4.0.x series stable backports ppa (and SRU-testing for raring)
http://sweetshark.livejournal.com/10977.html

This ppa will:
- not contain alpha and beta releases like 4.0.0~beta2
- not contain updates to the next major (4.1.x)
- contain minor release updates and their release candidates -- these can be
  considered stable

Note that for minor release updates (4.0.1, 4.0.2, 4.0.3 ...) an rc2 is
almost always exactly the same as the final version.

see: https://wiki.documentfoundation.org/ReleasePlan for details
 More info: https://launchpad.net/~libreoffice/+archive/libreoffice-4-0
Press [ENTER] to continue or ctrl-c to cancel adding it

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1063350

Title:
  curl corrupts floating point context

Status in “pycurl” package in Ubuntu:
  Fix Released
Status in “software-properties” package in Ubuntu:
  Invalid

Bug description:
  # add-apt-repository ppa:ubuntu-wine/ppa
  You are about to add the following PPA to your system:
   Welcome to the Wine Team PPA.  Here you can get the latest available Wine betas for every supported version of Ubuntu.  This PPA is managed by Scott Ritchie and Maarten Lankhorst.
   More info: https://launchpad.net/~ubuntu-wine/+archive/ppa
  Press [ENTER] to continue or ctrl-c to cancel adding it

  Exception in thread Thread-1:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
      self.run()
    File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 99, in run
      self.add_ppa_signing_key(self.ppa_path)
    File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 132, in add_ppa_signing_key
      tmp_keyring_dir = tempfile.mkdtemp()
    File "/usr/lib/python2.7/tempfile.py", line 322, in mkdtemp
      name = names.next()
    File "/usr/lib/python2.7/tempfile.py", line 141, in next
      letters = [choose(c) for dummy in "123456"]
    File "/usr/lib/python2.7/random.py", line 274, in choice
      return seq[int(self.random() * len(seq))]  # raises IndexError if seq is empty
  ValueError: cannot convert float NaN to integer

  I have tried a purge and install but it doesn't fix this.

  No idea how to work around this.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: python-software-properties 0.82.7.3
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic-pae 3.2.28
  Uname: Linux 3.2.0-31-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: i386
  Date: Sun Oct  7 18:43:46 2012
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to precise on 2012-10-03 (4 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/1063350/+subscriptions




More information about the foundations-bugs mailing list