diff options
author | Ahmed Omar <[email protected]> | 2011-11-01 16:12:36 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-11-01 16:24:02 +0100 |
commit | cddc88dc10df2af9c248fdfa52f104d060430f6d (patch) | |
tree | 524269ea73d90d49f074816c1cd425b1f61f5f27 /lib/stdlib/src/otp_internal.erl | |
parent | 9a6ad15ba103ec7aee2da66f59e371bd863f410c (diff) | |
download | otp-cddc88dc10df2af9c248fdfa52f104d060430f6d.tar.gz otp-cddc88dc10df2af9c248fdfa52f104d060430f6d.tar.bz2 otp-cddc88dc10df2af9c248fdfa52f104d060430f6d.zip |
Fix a crash when file:change_time/2,3 are called with invalid dates
Calling file:change_time/2,3 with an invalid date tuple
(e.g file:change_time("file.txt", {undefined, undefined}))
will cause file_server_2 to crash.
error_logger will shutdown and the whole VM will stop.
Change behavior to validate given dates on system boundaries.
(i.e before issuing a server call).
Diffstat (limited to 'lib/stdlib/src/otp_internal.erl')
0 files changed, 0 insertions, 0 deletions