opensubscriber
   Find in this group all groups
 
Unknown more information…

e : eps@inter7.com 6 March 2008 • 3:21AM -0500

[eps] Argh! New bug discovered
by Matt Brookings

REPLY TO AUTHOR
 
REPLY TO GROUP




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amazingly, in the millions of emails EPS has seen, it's never gotten one
that had a multipart message with no boundary.  Anyway, here is a quick diff
for mime.c that adds a check to make sure eps->b is allocated.

Stupid mistake.  I blame lack of coffee.   Does anyone even monitor this list
anymore? :)

I'll be releasing a 1.8 in the coming weeks with this fix as well as some other
potential features.

148,152c148
<   p = boundary_fetch(eps, eps->b->cdepth);
<   if (p) {
<      eps->m->boundary = mstrdup(p);
<      eps->m->depth    = eps->b->cdepth;
<   }
- ---
>   eps->m->depth = -1;
154,155c150,156
<   else
<      eps->m->depth    = -1;
- ---
>   if (eps->b) {
>      p = boundary_fetch(eps, eps->b->cdepth);
>      if (p) {
>         eps->m->boundary = mstrdup(p);
>         eps->m->depth    = eps->b->cdepth;
>      }
>   }

- --
/*
    Matt Brookings <matt@inte...>       GnuPG Key ABA26FE7
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFHzvK7Yaj0Mauib+cRAgPDAJ9cW2OVZqZc2hPXUvZP+wDHbf1QjgCgoLEZ
w2VSAlYqP2q3oXiW1uqlc30=
=5Pz3
-----END PGP SIGNATURE-----

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.