Skip to main content
Adobe Photoshop Family

11 Messages

 • 

242 Points

Wed, Nov 29, 2017 4:01 AM

File.read crashes Photoshop

here is the code:

f = new File("~\\Desktop\\stream.txt"); // Path to any existing file
f.open("r");
var str2 = f.read(999999999999999999);
f.close();

Photoshop will crash

Tested on Windows 7 with Photoshop CC 2017 x64 and MacOSX with Photoshop CC 2018

Responses

No Responses!