From c33495ca9cf1bb12ac5bc3263458fdf3331c1f89 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 9 Sep 2001 17:32:03 +0000 Subject: 2001-08-31 Marcus Brinkmann * 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 . --- libnetfs/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libnetfs/ChangeLog') 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 + + * 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 . + 2001-06-21 Neal H Walfield * file-getcontrol.c (netfs_S_file_getcontrol): When checking if -- cgit v1.2.3