diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-09-09 17:32:03 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-09-09 17:32:03 +0000 |
commit | c33495ca9cf1bb12ac5bc3263458fdf3331c1f89 (patch) | |
tree | f5575875f366c78f59c4d59f5ea24c80e77a5cc0 /libnetfs/ChangeLog | |
parent | cd07eece45992a52e4c6c9ad1d7ae47b0f82fbe9 (diff) |
2001-08-31 Marcus Brinkmann <marcus@gnu.org>
* file-get-translator.c (netfs_S_file_get_translator): If
asprintf() fails, set ERR to errno.
* dir-lookup.c (netfs_S_dir_lookup): Catch if asprintf() fails and
return ENOMEM. If netfs_make_protid() fails, set ERROR to errno,
not ENOMEM. Do this before freeing USER.
* dir-mkfile.c (netfs_S_dir_mkfile): If netfs_make_protid() fails,
set ERROR to errno and free USER.
* file-exec.c (netfs_S_file_exec): Likewise.
Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
Diffstat (limited to 'libnetfs/ChangeLog')
-rw-r--r-- | libnetfs/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog index 752eacee..c2b7c7a3 100644 --- a/libnetfs/ChangeLog +++ b/libnetfs/ChangeLog @@ -1,3 +1,15 @@ +2001-08-31 Marcus Brinkmann <marcus@gnu.org> + + * file-get-translator.c (netfs_S_file_get_translator): If + asprintf() fails, set ERR to errno. + * dir-lookup.c (netfs_S_dir_lookup): Catch if asprintf() fails and + return ENOMEM. If netfs_make_protid() fails, set ERROR to errno, + not ENOMEM. Do this before freeing USER. + * dir-mkfile.c (netfs_S_dir_mkfile): If netfs_make_protid() fails, + set ERROR to errno and free USER. + * file-exec.c (netfs_S_file_exec): Likewise. + Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. + 2001-06-21 Neal H Walfield <neal@cs.uml.edu> * file-getcontrol.c (netfs_S_file_getcontrol): When checking if |