Your message dated Wed, 30 Jan 2008 11:47:43 +1300
with message-id <[EMAIL PROTECTED]>
and subject line Closing old razor bugs
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: razor2
Version: 2.61


Just a reminder that the next version of razor, 2.60 crashes mimedefang.
Note: This version of razor is not yet a debian package.

This should not be a problem for mimedefang, until:
Razor 2.61 hits the repository, and it does not get the patch to fix it.
Just so you remember to verify it has the patch in it, or a patched
version is released.
This  might cause problems with other MTA's that rely on razor.
---------------------------- Original Message ----------------------------
Subject: Re: [Mimedefang]  Do not use razor2.61 ! (was Mimedefang
segfaults/crashes) From:    "Martin Blapp" <[EMAIL PROTECTED]>
Date:    Sun, August 1, 2004 6:10 am
To:      [EMAIL PROTECTED]
--------------------------------------------------------------------------


And here is a workaround:

> Razor 2.40 is fine, Razor 2.61 crashes on some mail
> because it normalizes emails from html first and
> there is a bug in there.

and this patch (not 100% correct) seems to fix it. It just takes one byte
away from the raw mailinput and terminates it properly with '\0'. There
must be an 'off-by-one' somewere, but I haven't been able to track it
down.

The scanoutput on 1800 mails was exactly the same on both tests.

Martin

--- Razor2-Preproc-deHTMLxs/_deHTMLxs.c Thu Jun 17 00:44:35 2004
+++ Razor2-Preproc-deHTMLxs/_deHTMLxs.c Sun Aug  1 09:48:54 2004
@@ -177,13 +177,17 @@
                    break;

                case '&':
-                   *t++ = html_tagxlat(&s);
+                   if (t != NULL)
+                           *t++ = html_tagxlat(&s);
                    break;

                default:
                valid:
-                   if (!tag)
-                       *t++ = c;
+                   if (!tag) {
+                       if (t != NULL ) {
+                               *t++ = c;
+                       }
+                   }
                    break;
            }

--- Razor2-Preproc-deHTMLxs/deHTMLxs.xs Sun Aug  1 13:55:03 2004
+++ Razor2-Preproc-deHTMLxs/deHTMLxs.xs Sun Aug  1 13:52:28 2004
@@ -191,6 +191,7 @@
             text = SvRV(scalarref);
             raw = SvPV(text,size);

+           *(raw + size - 1) = '\0';
             if ( (cleaned = malloc(size+1)) &&
                  (res = html_strip(raw, cleaned))  // html_strip will
memset cleaned to 0 ) {
_______________________________________________



-- 
Luke Computer Science System Administrator
Security Administrator,College of Engineering
Montana State University-Bozeman,Montana




--- End Message ---
--- Begin Message ---
Hello,

I'm marking these bugs as closed now because they were filed against very
old versions of razor and haven't been reported back since.

If you are still experiencing the same problems however, please feel free to
reopen the bugs.

Thanks,

Francois


--- End Message ---

Reply via email to