bugmldonkey, a multi-networks file-sharing client - Bugs: bug #4076, out-of-bound array or string access

 
 

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

bug #4076: out-of-bound array or string access

Submitted by:  None
Submitted on:  Mon 23 Jun 2003 10:25:45 PM UTC  
 
Category: HTTP interfaceSeverity: 3 - Normal
Item Group: i18n issuesStatus: Duplicate
Assigned to: NoneOpen/Closed: Closed
Release: 2.5.3Release: 2.5.3
Operating System: LinuxBinaries Origin: Binary from Savannah
CPU type: None

Mon 15 Mar 2004 01:28:23 AM UTC, comment #4:

Duplicate of bug 8106

spiralvoice <spiralvoice>
Project Administrator
Wed 25 Feb 2004 01:30:12 AM UTC, comment #3:

Please check if this bug still is in current CVS version.
You should a tarball of current CVS in files section of
this project: http://savannah.nongnu.org/download/mldonkey/

spiralvoice <spiralvoice>
Project Administrator
Wed 03 Dec 2003 10:04:06 AM UTC, comment #2:

Bug opened again, seems still to be valid
http://mldonkey.berlios.de/modules.php?name=Forums&file=viewtopic&t=1936

spiralvoice <spiralvoice>
Project Administrator
Tue 02 Dec 2003 07:15:49 PM UTC, comment #1:

This patch report is old. If the bug still exists in current
versions please post a new bug report - spiralvoice

spiralvoice <spiralvoice>
Project Administrator
Mon 23 Jun 2003 10:25:45 PM UTC, original submission:

My Browser is showing this if I click on search results:
<!--
var mOvrClass='';
function mOvr(src,clrOver) {
if (clrOver == undefined) {var clrOver='mOvr1'};
mOvrClass = src.className;
src.className = clrOver + ' ' + mOvrClass + ' ' + clrOver;
}
function mOut(src) {
src.className=mOvrClass;
}
function mSub(target,cmd) {
if (target != "") {
if (cmd=="kill") {
if (confirm("Are you sure?")) {
top[target].location.href="submit?q=" + cmd;
}
} else {
top[target].location.href="submit?q=" + cmd;
}
} else {
location.href="submit?q=" + cmd;
}
}
var _tabLast=null;
function _rObj (s,ar) {
this.s = s;
this.ar = ar;
}
function _tabCreateArray(obj,st){
var tb=obj.parentNode.parentNode;
var rw=obj.parentNode.parentNode.rows;
var _nRows=rw.length;
var _tabS=new Array(_nRows-1);
var _nCells = rw.item(0).cells.length;
for(var i=1;i<_nRows;i++){
var _raw = rw.item(i).cells.item(obj.cellIndex).innerHTML;
if (st==1) {
_raw = _raw.replace((new RegExp('\\\(','gi')), '');
if (_raw.indexOf(":") != -1) { _raw = _raw.substring(2,99); }
if (_raw.search(new RegExp("[TGMk]","i"))) {
if (_raw.indexOf("T") != -1) { _raw = parseFloat(_raw) * 1024 * 1024 * 1024 * 1024; }
else {
if (_raw.indexOf("G") != -1) { _raw = parseFloat(_raw) * 1024 * 1024 * 1024; }
else {
if (_raw.indexOf("M") != -1) { _raw = parseFloat(_raw) * 1024 * 1024; }
else {
if (_raw.indexOf("k") != -1) { _raw = parseFloat(_raw) * 1024; }
}
}
}
}}
_tabS[i-1]= new _rObj(_raw,rw.item(i).cloneNode(true));
}
if (st==1) { _tabS.sort(_cmpFloat); }
else { _tabS.sort(_cmpTxt); }
if (!_tabMode) {_tabS.reverse()}
for(var i=0;i<_nRows-1;i++){
var tr = _tabS[i].ar.cloneNode(true);
var oChild=tb.rows.item(i+1);
if (i % 2 == 0) { tr.className = 'dl-1'; }
else { tr.className = 'dl-2'; }
tb.replaceChild(tr,oChild);
}

}
function _cmpTxt(a,b) {
if (_tabMode) {
if (a.s=="") { if (b.s !="") { return 1;} }
if (b.s=="") { if (a.s !="") { return -1;} }
}
if (a.s.toUpperCase() < b.s.toUpperCase()) {return -1;}
if (a.s.toUpperCase() > b.s.toUpperCase()) {return 1;}
return 0;
}
function _cmpFloat(a,b) {
if (!_tabMode) {
if (a.s=="") { if (b.s !="") { return -1;} }
if (b.s=="") { if (a.s !="") { return 1;} }
}
if (isNaN(parseFloat(a.s))) {return 1;}
if (isNaN(parseFloat(b.s))) {return -1;}
return (parseFloat(b.s) - parseFloat(a.s));
}
function _tabSort(obj,st){
if (_tabLast==obj) {_tabMode=!(_tabMode);}
else {_tabMode=true;}
_tabCreateArray(obj,st);
_tabLast=obj;
return _tabMode;
}
function _cmdLine(){
top.fstatus.document.open();
top.fstatus.document.clear();
top.fstatus.document.writeln("<html><head>");
top.fstatus.document.writeln("<link href='h.css' rel='stylesheet' type='text/css'>");
top.fstatus.document.writeln("</head><body><center><table width=99% border=0 cellspacing=0 cellpadding=0>");
top.fstatus.document.writeln("<form action=submit target=output name=cmdFormular> " );
top.fstatus.document.writeln("<tr><td width=100% nowrap>");
top.fstatus.document.writeln(" <input class='txt' style='width: 99%; height: 20px; font-size: 12px;'");
top.fstatus.document.writeln(" type=text name=q value=''> </td><td width=1>");
top.fstatus.document.writeln(" <input class='but' style='color: #FFF; font-weight: 600; height: 20px; font-size: 10px;'");
top.fstatus.document.writeln("type=submit value=Execute></td></form>");
top.fstatus.document.writeln("</tr></table></body></html>");
top.fstatus.document.close();
}
//-->

Exception Invalid_argument("out-of-bound array or string access")


This is happening everytime a search is successful. If a search is not successful the page is displayed normal.

Anonymous

 

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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 15 Mar 2004 01:28:23 AM UTCspiralvoiceStatusNone=>Duplicate
  Open/ClosedOpen=>Closed
Tue 02 Mar 2004 09:04:38 PM UTCspiralvoiceItem GroupNone=>i18n issues
  Release2.00=>2.5.3
Wed 03 Dec 2003 10:04:06 AM UTCspiralvoiceOpen/ClosedClosed=>Open
Tue 02 Dec 2003 07:15:49 PM UTCspiralvoiceOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1