Product:
CF 7 BugHunt
User:
Anonymous
[
Switch Product
]
CFUG:
None
Add and View Bug Comments at the bottom of the Element.
Title:
CreateObject/CFOBJECT COM implementaiton bug
BugID:
1027
Date Opened:
10-Sep-01
Created By:
Rob Brooks-Bilson
Philadelphia Pennsylvania CFUG
Type:
Tag
Element/Element:
CreateObject/CFOBJECT
Severity:
Unexpected Results
Status:
New/Unvalidated
Adobe BugID:
Description of bug:
There appears to be a bug in CF's COM implementation when reading files containing null characters (I'm guessing) with the Windows Scripting.FileSystemObject. It seems that CF terminates the read at the first Null character it encounters (note that the COM object does not terminate the read). To verify this, I read in a GIF file using CFFILE and got a length of 75 bytes. I then used an equivalent ASP page with the Scripting.FileSystemObject and got a length of 75 bytes. However, using the Scripting.FileSystemObject with CFOBJECT (and CreateObject()) in ColdFusion (versions 4.5.1 SP2 and CF 5.0), I got a length of only 7. You can use any Gif you wish to test this.
Comments:
I have code to reproduce this.
--->
A D D Y O U R C O M M E N T S T O T H I S B U G
Please login to add comments to a bug
C O M M E N T S
Comment display is being revamped. We apologize for the delay.