File.read crashes Photoshop

  • 1
  • Problem
  • Updated 12 months ago
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
Photo of Серж Рашитов

Серж Рашитов

  • 11 Posts
  • 0 Reply Likes

Posted 12 months ago

  • 1

Be the first to post a reply!