[SCM] Debian packaging of libproc-processtable-perl branch, master, updated. debian/0.45-6-20-gf3ddbc3

Salvatore Bonaccorso carnil at debian.org
Sun Feb 17 07:20:31 UTC 2013


The following commit has been merged in the master branch:
commit 0f7de89c2b9577dbbc6edee651cc766595ac07e7
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Feb 17 08:17:45 2013 +0100

    Refresh 696874-fix-Buffer-overflow-in-pctcpu.patch patch (offset)

diff --git a/debian/patches/696874-fix-Buffer-overflow-in-pctcpu.patch b/debian/patches/696874-fix-Buffer-overflow-in-pctcpu.patch
index 734e668..a07b577 100644
--- a/debian/patches/696874-fix-Buffer-overflow-in-pctcpu.patch
+++ b/debian/patches/696874-fix-Buffer-overflow-in-pctcpu.patch
@@ -10,9 +10,9 @@ Author: Matthew L. Dailey <matthew.l.dailey at dartmouth.edu>
 Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
 Last-Update: 2012-12-23
 
---- libproc-processtable-perl-0.45.orig/os/Linux.h
-+++ libproc-processtable-perl-0.45/os/Linux.h
-@@ -42,7 +42,7 @@ struct procstat
+--- a/os/Linux.h
++++ b/os/Linux.h
+@@ -42,7 +42,7 @@
  	char			*cmndline;
  	char			*exec;
  	/* other values */
@@ -21,9 +21,9 @@ Last-Update: 2012-12-23
  	char			pctmem[sizeof("100.00")];	/* precent memory, without '%' char */
  };
  
---- libproc-processtable-perl-0.45.orig/os/Linux.c
-+++ libproc-processtable-perl-0.45/os/Linux.c
-@@ -551,7 +551,7 @@ static void calc_prec(char *format_str,
+--- a/os/Linux.c
++++ b/os/Linux.c
+@@ -548,7 +548,7 @@
      float pctcpu = 100.0f * (prs->utime / 1e6) / (time(NULL) - prs->start_time);
  
      /* calculate pctcpu - NOTE: This assumes the cpu time is in microsecond units! */

-- 
Debian packaging of libproc-processtable-perl



More information about the Pkg-perl-cvs-commits mailing list