"Evil Code" error?

Jon Wilmoth JWilmoth at starbucks.com
Wed Jul 9 17:46:52 UTC 2003


This is odd.  We do not have a shadow database defined and are using
2.17.3.

-----Original Message-----
From: David Miller [mailto:justdave at syndicomm.com] 
Sent: Tuesday, July 08, 2003 5:51 PM
To: developers at bugzilla.org
Subject: Re: "Evil Code" error?

On 7/8/2003 3:32 PM -0700, Jon Wilmoth wrote:

> We've been experiencing problems with our Bugzilla server (disk space
> and other) and finally had to reboot the machine.  I'm now seeing the
> following message in the apache error_log:
>
> Evil code attempted to write 'insert into logincookies (userid,ipaddr)
> values (131, '204.238.150.136')' to the shadow database at
> /usr/local/lib/perl5/5.6.1/CGI
> /Carp.pm line 301.
>
> This sounds bad...how concerned should I be?

Um, basically something broke if you got that.  Hard to be more
specific.
That error is actually generated by Bugzilla though.  It's in the
SendSQL
sub, which in 2.16.3 is in globals.pl.  The error message is generated
if
the current database is the shadow database and something tries to do a
database write (which is only allowed on the primary database, not the
shadow).  Most of the shadow database concept went away in 2.17.x in
favor
of database replication.
-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=jwilmoth@starbucks.com>




More information about the developers mailing list