]> git.pld-linux.org Git - packages/inn.git/commitdiff
- patches from rawhide. inn-2_3_1-6
authorkloczek <kloczek@pld-linux.org>
Tue, 30 Jan 2001 01:08:19 +0000 (01:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    inn-frsize.patch -> 1.1
    inn-gcc.patch -> 1.1
    inn-sec.patch -> 1.1

inn-frsize.patch [new file with mode: 0644]
inn-gcc.patch [new file with mode: 0644]
inn-sec.patch [new file with mode: 0644]

diff --git a/inn-frsize.patch b/inn-frsize.patch
new file mode 100644 (file)
index 0000000..04e1f29
--- /dev/null
@@ -0,0 +1,11 @@
+--- inn-2.2.1/backends/inndf.c.frsize  Tue Jul  6 09:38:41 1999
++++ inn-2.2.1/backends/inndf.c Sun Aug 29 14:35:05 1999
+@@ -80,7 +80,7 @@
+ #define STATFUNCT     statvfs         /* function call */
+ #define STATSTRUC     statvfs         /* structure name */
+ #define STATAVAIL     f_bavail        /* blocks available */
+-#define STATMULTI     f_frsize        /* fragment size/block size */
++#define STATMULTI     f_bsize         /* fragment size/block size */
+ #define CAREFULL_STATMULTI f_bsize /* in case f_frsize is 0 */
+ #define STATINODE     f_favail        /* inodes available */
+ #define STATTYPES     u_long          /* type of f_bavail etc */
diff --git a/inn-gcc.patch b/inn-gcc.patch
new file mode 100644 (file)
index 0000000..60f2e9e
--- /dev/null
@@ -0,0 +1,11 @@
+--- inn-2.2.2/innfeed/host.c.gcc       Wed Jun 21 14:04:47 2000
++++ inn-2.2.2/innfeed/host.c   Wed Jun 21 14:05:23 2000
+@@ -2468,7 +2468,7 @@
+   bool isGood = false ;
+   if (topScope == NULL)
+-    return false ;
++    return NULL ;
+   
+   while ((v = getNextPeer (&idx)) != NULL) 
+     {
diff --git a/inn-sec.patch b/inn-sec.patch
new file mode 100644 (file)
index 0000000..60048bf
--- /dev/null
@@ -0,0 +1,16 @@
+--- inn-2.3.1/innd/inndstart.c.sec     Thu Jan 11 09:55:23 2001
++++ inn-2.3.1/innd/inndstart.c Mon Jan 22 15:01:08 2001
+@@ -192,9 +192,10 @@
+     if (ReadInnConf() < 0) exit(1);
+     /* Ensure that pathrun exists and that it has the right ownership. */
+-    if (stat(innconf->pathrun, &Sb) < 0) {
+-        syslog(L_FATAL, "can't stat pathrun (%s): %m", innconf->pathrun);
+-        fprintf(stderr, "Can't stat pathrun (%s): %s\n", innconf->pathrun,
++    /* hardcode dirname to avoid security problems - notting 1999/05/21 */
++    if (stat("/var/run/news", &Sb) < 0) {
++        syslog(L_FATAL, "can't stat pathrun (/var/run/news): %m");
++        fprintf(stderr, "Can't stat pathrun (/var/run/news): %s\n",
+                 strerror(errno));
+         exit(1);
+     }
This page took 0.051098 seconds and 4 git commands to generate.