Package: uqwk-spool
Version: 2.21-12
Severity: important

When running

# uqwk +m -H<dir>

I something get the following error (if there is some pattern in at 
least one mail -- mostly spam):

*** glibc detected *** realloc(): invalid pointer: 0x08057520 ***
Aborted

By reading the source, I found that the problem is triggered by
the Fgets() in MakeMailList() (mail.c). From what I saw, Fgets() tries
to do a realloc() to buf, which is a static buffer.

I suspect that a comment in Fgets() already points to the root cause:
         * This bit of code reallocs dynamically -- it will fail
         * if it is tries to reallocate non-reallocatable memory

By replacing fgets() in this location, I could make uqwk work, but as
there are plenty of other Fgets()s in the code, this seems to require
further analysis.

Thanks,
André

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-bender
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages uqwk-spool depends on:
ii  exim4                         4.61-1     metapackage to ease exim MTA (v4) 
ii  exim4-daemon-heavy [mail-tran 4.61-1     exim MTA (v4) daemon with extended
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

uqwk-spool recommends no packages.

-- no debconf information


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

Reply via email to