]> git.pld-linux.org Git - packages/links2.git/commitdiff
- fixed segv on exit links2-2_1pre3-2
authorgrzegol <grzegol@pld-linux.org>
Thu, 19 Sep 2002 22:36:10 +0000 (22:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    links2-gzip_fallback.patch -> 1.2

links2-gzip_fallback.patch

index eabbe896b252d65cd611c0ccbe8d538d64bf6517..be320cc562e454b1c02976dbd8787628a7589e08 100644 (file)
@@ -27,7 +27,7 @@
                mem_free(name);
                setcstate(c, -er); abort_connection(c); return;
        }
-@@ -339,21 +344,51 @@
+@@ -339,21 +344,52 @@
                close(h);
                setcstate(c, S_FILE_TYPE); abort_connection(c); return;
        } else {
@@ -62,6 +62,7 @@
 +              else 
 +#endif
 +              {
++                              mem_free(name);
                /* + 1 is there because of bug in Linux. Read returns -EACCES when
                   reading 0 bytes to invalid address */
 -              if (!(file = mem_alloc(stt.st_size + 1))) {
This page took 0.119765 seconds and 4 git commands to generate.