Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#20 segfault when there is no https server

closed
nobody
5
2002-09-23
2002-03-24
arekm
No

When you are trying to mount over https and there is no
https server running then you'll get segfault.

Fix:

diff -urN davfs-0.2.4.org/lib/libdav.c
davfs-0.2.4/lib/libdav.c
--- davfs-0.2.4.org/lib/libdav.c Sun Mar 24
14:20:41 2002
+++ davfs-0.2.4/lib/libdav.c Sun Mar 24 14:45:12 2002
@@ -508,6 +508,9 @@
ssl_mode = 1;
}

+ if(!dc->ns)
+ return NULL;
+
if(ssl_mode) {
#ifdef ENABLE_SSL
sock_make_secure(dc->ns, NULL);

Discussion

  • arekm
    arekm
    2002-03-24

    fix for segfault

     
  • SungHun Kim
    SungHun Kim
    2002-04-11

    Logged In: YES
    user_id=206854

    Thanks.

    Your patch is commited.

     
  • SungHun Kim
    SungHun Kim
    2002-09-23

    • status: open --> closed