Displaying 1 result from an estimated 1 matches for "expireenc".
Did you mean:
expierence
2000 Jun 13
1
a bug in smbmount
...reconnect,
it exit with core dump. I think it shouldn't.
I think the bug is in send_fs_socket (smbmount.c) in
infinite loop. do_connection returns NULL pointer:
c=do_connection(service);
and program don't check it.
I offer the patch which i tested and it worked for me,
but i am not an expireenced programmer:
---------------------------------------------------------------
--- smbmount.c.ORIG Thu Nov 11 00:00:00 1999
+++ smbmount.c Tue Jun 13 14:00:23 2000
@@ -342,7 +342,7 @@
close_our_files(c?c->fd:-1);
}
#endif
-
+failed:
/...