Modify ↓
Opened 17 years ago
Closed 16 years ago
#1167 closed Bug (Fixed)
_FTP_ProgressDownload crashes
| Reported by: | ProgAndy | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.1.4 | Component: | Standard UDFs |
| Version: | 3.3.1.3 | Severity: | Blocking |
| Keywords: | Cc: |
Description
_FTP_ProgressDownload crashes with the message "error allocating memory". The reason for this is a wrong order of the params in the call for _WinAPI_MakeQWord.
$glen = _WinAPI_MakeQWord($ai_FTPGetFileSize[2], $ai_FTPGetFileSize[0])
It should be changed to this:
$glen = _WinAPI_MakeQWord($ai_FTPGetFileSize[0], $ai_FTPGetFileSize[2])
Attachments (0)
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Milestone: | → 3.3.1.2 |
|---|---|
| Resolution: | → Fixed |
| Status: | new → closed |
already fix in next beta 3.3.1.2
comment:3 by , 16 years ago
comment:4 by , 16 years ago
| Milestone: | 3.3.1.2 |
|---|---|
| Resolution: | Fixed |
| Severity: | None → Blocking |
| Status: | closed → reopened |
| Version: | 3.3.1.1 → 3.3.1.3 |
comment:6 by , 16 years ago
| Milestone: | → 3.3.1.4 |
|---|---|
| Owner: | changed from to |
| Resolution: | → Fixed |
| Status: | reopened → closed |
Fixed in version: 3.3.1.4
Note:
See TracTickets
for help on using tickets.

This bug also occurs in:
_FTP_FileGetSize (line 461)
FTP_ListToArray (line 1184, 1205)
I think this bug has been created when inverting the params of _WinAPI_MakeQWord
(
;_FTPFileTimeLoHi ; --> _WinAPI_MakeQWord ; parameter inversion)