bugMHonArc - Bugs: bug #5905, Modification of non-creatable...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #5905: Modification of non-creatable array value attempted

Submitted by:  Earl Hood <ehood>
Submitted on:  Mon 13 Oct 2003 04:25:33 AM UTC  
 
Category: MIME FilterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Crash Error
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: AllPerl Version: All
Component Version: <=2.6.8Fixed Release: 2.6.9

Fri 17 Oct 2003 10:19:46 PM UTC, comment #2:

Conversion of relative URLs to full URLs has been redone.
Since readmail.pl had a similiar function as in
mhtxthtml.pl, the readmail version was redone and
mhtxthtml.pl changed to use it.

The Perl error does no long occurs with provided sample
message, and the possibility of the error to occur should
be zero (famous last words) since argument to slice() is
checked beforehand.

Earl Hood <ehood>
Project Administrator
Mon 13 Oct 2003 04:49:11 AM UTC, comment #1:

Initial analysis shows that problem occurs when the
base URL of an HTML message is determined to be just
the protocol string (e.g. "http://") and nothing more
(btw, this problem could technically affect readmail.pl
also).

In the sample message, the base is computed to be
"file://" -- that's it. Actually, the message uses
'\' as path separator for the pathname compoent,
but that is not legal, and I have no desire to to deal
with it. Therefore, mhtxthtml.pl computes the base
URL (from the <BASE> tag) to just be "file://".

Regardless, a decision needs to be made on how to handle
cases where the base URL is bogus, like "http://" (no
hostname component is present). At a minimum, the code
needs to so some integrity checks to avoid the Perl error
message. Trying to validate the URL may be a pain since
it would require knowing all possible URL schemes.

Earl Hood <ehood>
Project Administrator
Mon 13 Oct 2003 04:25:33 AM UTC, original submission:

(Problem initially reported by Franco Galian to the
mhonarc-users list.)

For certain message types, the following Perl error message
is generated:

Modification of non-creatable array value attempted, \
subscript -2 at lib/mhtxthtml.pl line 376, <GEN0> line 27.

Franco has supplied sample message that re-creates the
problem via private mail.

Earl Hood <ehood>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 07 May 2004 11:00:44 PM UTCehoodOpen/ClosedOpen=>Closed
  Fixed ReleaseCVS=>2.6.9
Fri 17 Oct 2003 10:19:46 PM UTCehoodStatusNone=>(Error - Not Found)
  Fixed Release=>

Back to the top


Powered by Savane 3.1-cleanup1