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

Submitter:  None
Submitted:  Mon 23 Jun 2003 10:25:45 PM UTC
   
 
Category:  HTTP interface Severity:  3 - Normal
Item Group:  i18n issues Status:  Duplicate
Assigned to:  None Open/Closed:  Closed
Release:  2.5.3 Release:  2.5.3
Operating System:  Linux Binaries Origin:  Binary from Savannah
CPU type:  None

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

Duplicate of bug 8106

spiralvoice <spiralvoice>
Group 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>
Group administrator
Wed 03 Dec 2003 10:04:06 AM UTC, comment #2: 
spiralvoice <spiralvoice>
Group 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>
Group 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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-03-15 spiralvoice StatusNone Duplicate
    Open/ClosedOpen Closed
2004-03-02 spiralvoice Item GroupNone i18n issues
    Release2.00 2.5.3
2003-12-03 spiralvoice Open/ClosedClosed Open
2003-12-02 spiralvoice Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code