[rt-users] Can a user send a request to RT if he is not defined in RT db?

Sebastian Flothow lists at flothow.de
Tue Jul 1 05:03:25 EDT 2003


Am Montag, den 30. Juni 2003, um 16:57, schrieb Francesca - INFN:
> panic: sv_setpvn called with negative strlen at 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140.

This is a known bug, you need to apply a small patch to RT's Email.pm:

--- Email.pm.orig       Sat Jun 28 13:09:48 2003
+++ Email.pm    Sat Jun 28 13:10:51 2003
@@ -196,8 +196,9 @@

      # This data is tainted by some Very Broken mailers.
      # (Sometimes they send raw ISO 8859-1 data here. fear that.
-    $Username = Encode::encode(utf8 => $Username, Encode::FB_PERLQQ);
-    $Name = Encode::encode(utf8 => $Name, Encode::FB_PERLQQ);
+    require Encode;
+    $Username = Encode::encode(utf8 => $Username, Encode::FB_PERLQQ()) 
if defined $Username;
+    $Name = Encode::encode(utf8 => $Name, Encode::FB_PERLQQ()) if 
defined $Name;

      my ($Val, $Message) =
        $NewUser->Create(Name => ($Username || $Address),






Sebastian

--
Sebastian Flothow
sebastian at flothow.de

 > Because it reverses the logical flow of conversation.
Why is top posting frowned upon?




More information about the rt-users mailing list