Current Etch version of MLMMJ seems to suffer from a known and corrected
Dear list,
Here's what I saw in one of my server's syslog:
Jul 30 22:15:58 mx /usr/bin/mlmmj-process[17885]: subscriberfuncs.c:61: Could not mmap fd: Invalid argument Jul 30 22:15:58 mx /usr/bin/mlmmj-send[17885]: getaddrsfromfd.c:27: Could not mmap fd: Invalid argument Jul 30 22:16:56 mx /usr/bin/mlmmj-bounce[18009]: subscriberfuncs.c:61: Could not mmap fd: Invalid argument Jul 30 22:17:48 mx /usr/bin/mlmmj-bounce[18124]: subscriberfuncs.c:61:
Could not mmap fd: Invalid argument
As I saw this in the archive of the list:
http://mlmmj.mmj.dk/archives/mlmmj/2006-08/0758.html
with this reply:
http://mlmmj.mmj.dk/archives/mlmmj/2006-08/0759.html
I was wondering what you would advise to patch in the current Debian stable version, so we can have it patched.
Best regards,
Thomas Goirand
P.S: Please keep the address [email protected] as cc so it can be sent to the Debian bug tracker system (BTS) case that I have just open, and with it's archive can be seen here:
Re: Current Etch version of MLMMJ seems to suffer from a known and corrected bug
Hello Thomas,
Quoted 9 lines · Thomas Goirand
Jul 30 22:15:58 mx /usr/bin/mlmmj-process[17885]: subscriberfuncs.c: 61: Could not mmap fd: Invalid argument Jul 30 22:15:58 mx /usr/bin/mlmmj-send[17885]: getaddrsfromfd.c:27: Could not mmap fd: Invalid argument Jul 30 22:16:56 mx /usr/bin/mlmmj-bounce[18009]: subscriberfuncs.c:61: Could not mmap fd: Invalid argument Jul 30 22:17:48 mx /usr/bin/mlmmj-bounce[18124]: subscriberfuncs.c:61:Could not mmap fd: Invalid argument
When I started mlmmj the linux kernel didn't complain about mmap'ing a file with size 0. My FreeBSD box is not complaining either.
Quoted 10 lines
As I saw this in the archive of the list:
http://mlmmj.mmj.dk/archives/mlmmj/2006-08/0758.html
with this reply:
http://mlmmj.mmj.dk/archives/mlmmj/2006-08/0759.html
I was wondering what you would advise to patch in the current Debian stable version, so we can have it patched.
What you want to do is find all the checks in the freshly released 1.2.15 for 0-sized files (IIRC only the two places mentioned above is needed, but should be easy to grep for), and you add the same checks to the etch version.
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.