Function SHA1File does not raise an exception on nonexistent File
Original Reporter info from Mantis: dgaspary @dgaspary
-
Reporter name: Daniel Gaspary
Original Reporter info from Mantis: dgaspary @dgaspary
- Reporter name: Daniel Gaspary
Description:
When Calling Sha1File with a dummy filename the code is executed as the "file" was read without any
exception be raised.
Steps to reproduce:
program Project1;
uses
sha1;
var
s: string;
begin
s:=SHA1Print(SHA1File('this is not a file'));
end.
Mantis conversion info:
- Mantis ID: 38700
- OS: Linux
- OS Build: Ubuntu 20.04
- Build: [2018/10/29]
- Platform: x86-64
- Version: 3.0.4
- Fixed in revision: 49166 (#763d287a)
- Monitored by: » Vincent (Vincent Snijders)