Package: python2.5
Version: 2.5.5-2
Severity: important

The imp.find_module function causes a glibc double free or corruption if
it would be invoked with a directory with a ".py" ending. It can be
reproduced with:

mkdir bla.py; python -c 'import imp; imp.find_module("bla", ["."])'

This causes bpython to crash after the first input char if such a
directory exist.

The Backtrace is:

*** glibc detected *** python: double free or corruption (!prev):
0x0000000001f0d560 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f7deecd7d16]
/lib/libc.so.6(cfree+0x6c)[0x7f7deecdc9bc]
/lib/libc.so.6(fclose+0x14d)[0x7f7deecc8ded]
python[0x4a39a4]
python[0x4a39e9]
python(PyEval_EvalFrameEx+0x5028)[0x48db18]
python(PyEval_EvalCodeEx+0x811)[0x48f4e1]
python(PyEval_EvalCode+0x32)[0x48f602]
python(PyRun_SimpleStringFlags+0xfb)[0x4aebab]
python(Py_Main+0x4a4)[0x4140a4]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f7deec85abd]
python[0x413a39]



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

Kernel: Linux 2.6.33.2 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python2.5 depends on:
ii  libbz2-1.0                1.0.5-4        high-quality block-sorting file co
ii  libc6                     2.10.2-6       Embedded GNU C Library: Shared lib
ii  libdb4.5                  4.5.20-13.1    Berkeley v4.5 Database Libraries [
ii  libncursesw5              5.7+20100313-1 shared libraries for terminal hand
ii  libreadline6              6.1-1          GNU readline and history libraries
ii  libsqlite3-0              3.6.23-1       SQLite 3 shared library
ii  libssl0.9.8               0.9.8n-1       SSL shared libraries
ii  mime-support              3.48-1         MIME files 'mime.types' & 'mailcap
ii  python2.5-minimal         2.5.5-2        A minimal subset of the Python lan

python2.5 recommends no packages.

Versions of packages python2.5 suggests:
pn  python-profiler               <none>     (no description available)
pn  python2.5-doc                 <none>     (no description available)

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to