]> git.sur5r.net Git - bacula/bacula/commitdiff
Undo bug #1047 heap overrun fix as it is not correct.
authorKern Sibbald <kern@sibbald.com>
Thu, 28 Feb 2008 11:19:54 +0000 (11:19 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 28 Feb 2008 11:19:54 +0000 (11:19 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6508 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/ReleaseNotes
bacula/src/filed/backup.c
bacula/technotes-2.1

index 80a9a956909ac919c70121095d6db1ed380a8c5a..dc8afc8c6de251517b9739dbbab0f9ce8c2a10a7 100644 (file)
@@ -1,7 +1,7 @@
 
           Release Notes for Bacula 2.2.8 
 
-  Bacula code: Total files = 520 Total lines = 195,550 (*.h *.c *.in)
+  Bacula code: Total files = 498 Total lines = 167,596 (*.h *.c *.in)
   82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
 
 This Director and Storage daemon must be upgraded at the same time,
index d61c89bb02f804fdec67a18b7b147be6ba97868c..795e6d92a4e84e94c8adc7c851b7b6b89d178a5d 100644 (file)
@@ -1155,12 +1155,12 @@ static void strip_path(FF_PKT *ff_pkt)
       if (ff_pkt->type != FT_LNK && ff_pkt->fname != ff_pkt->link) {
          pm_strcpy(ff_pkt->link_save, ff_pkt->link);
          if (!do_strip(ff_pkt->strip_path, ff_pkt->link)) {
-            pm_strcpy(ff_pkt->link, ff_pkt->link_save);
-            pm_strcpy(ff_pkt->fname, ff_pkt->fname_save);
+            strcpy(ff_pkt->link, ff_pkt->link_save);
+            strcpy(ff_pkt->fname, ff_pkt->fname_save);
          }
       }
    } else {
-      pm_strcpy(ff_pkt->fname, ff_pkt->fname_save);
+      strcpy(ff_pkt->fname, ff_pkt->fname_save);
    } 
    Dmsg2(200, "fname=%s stripped=%s\n", ff_pkt->fname_save, ff_pkt->fname);
 }
@@ -1170,8 +1170,8 @@ static void unstrip_path(FF_PKT *ff_pkt)
    if (!(ff_pkt->flags & FO_STRIPPATH) || ff_pkt->strip_path <= 0) {
       return;
    }
-   pm_strcpy(ff_pkt->fname, ff_pkt->fname_save);
+   strcpy(ff_pkt->fname, ff_pkt->fname_save);
    if (ff_pkt->type != FT_LNK && ff_pkt->fname != ff_pkt->link) {
-      pm_strcpy(ff_pkt->link, ff_pkt->link_save);
+      strcpy(ff_pkt->link, ff_pkt->link_save);
    }
 }
index 13b794b1043f8daf36080f040c3c733ae734ef79..735cba879aab0295822e53f4489c2611951e4c3f 100644 (file)
@@ -1,6 +1,8 @@
               Technical notes on version 2.2
 
 General:
+27Feb08
+kes  Undo bug #1047 heap overrun fix as it is not correct.
 14Feb08
 kes  Fix creating first JobMedia record during Migration to include
      proper index. This caused slow restores of migrated jobs.