Bug 1306 - "reached end of file" error
: "reached end of file" error
Status: RESOLVED FIXED
: GridFTP
GridFTP
: unspecified
: SGI All
: P2 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-10-21 09:01 by
Modified: 2004-03-18 19:02 (History)


Attachments
Fix for 2.4.3 and 3.0.2 release (894 bytes, patch)
2003-11-21 12:38, Mike Link
Details
Fix for 2.2.4 release (882 bytes, patch)
2003-11-21 12:38, Mike Link
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-10-21 09:01:06
globus_gridftp_server-1.10:

A globus-url-copy resulted in a "reached end of file" error. This only occurred
after switching on logging thru the -Z flag of in.ftpd. It appeared that line
2373 of globus_hack.c was the cause of the problem:

g_mountPts = realloc(g_mountPts, max_mpt_ptrs);

should read:

g_mountPts = realloc(g_mountPts, sizeof(char*)*max_mpt_ptrs);

This problem only occurs on machines with more than 32 mount points.
------- Comment #1 From 2003-11-01 11:01:05 -------
This is not likely to be fixed, as concentration has shifted to the new server 
we're writing.  If time does allow, however, it can be fixed.
------- Comment #2 From 2003-11-21 12:38:16 -------
Created an attachment (id=264) [details]
Fix for 2.4.3 release
------- Comment #3 From 2003-11-21 12:38:42 -------
Created an attachment (id=265) [details]
Fix for 2.2.4 release
------- Comment #4 From 2003-11-24 17:56:29 -------
An updated package with this fix has been released at 
http://www-unix.globus.org/toolkit/advisories.html
------- Comment #5 From 2004-03-18 19:02:02 -------
*** Bug 1637 has been marked as a duplicate of this bug. ***