If the file is not a regular file, the 'fname' buffer will be freed before it is passed to the krb5_set_error_message() routine. That this is true is not obvious from code inspection but 'newfname' and 'fname' refer to the same memory. Change-Id: I7780eae9ceaf01b245df488a2f7d7f406770864f
37 KiB
37 KiB