[eso-midas] 01/01: Add another off-by-one string allocation error

Ole Streicher olebole at moszumanska.debian.org
Tue Mar 17 20:48:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository eso-midas.

commit 0a7f8307c8e2550ba725d084b5d7ffdb488c25ae
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Mar 17 21:48:19 2015 +0100

    Add another off-by-one string allocation error
---
 debian/patches/fix_trivial_errors.patch | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/patches/fix_trivial_errors.patch b/debian/patches/fix_trivial_errors.patch
index 87a4a83..f5915d3 100644
--- a/debian/patches/fix_trivial_errors.patch
+++ b/debian/patches/fix_trivial_errors.patch
@@ -63,6 +63,15 @@ Description: Fix/circumvent some trivial errors
  char mymess[60];
  index = strscans(descr,":#");
  if (!descr[index]) {
+@@ -670,7 +670,7 @@
+ {
+ extern int tidcomm;
+ int col,pid,val;
+-char cval[1];
++char cval[2];
+ TCTINI("TAB_COMM",F_TRANS,F_O_MODE,3,1,&tidcomm);
+ TCCINI(tidcomm,D_I4_FORMAT,1,"I6"," ","PID",&col);
+ TCCINI(tidcomm,D_C_FORMAT,60,"A20"," ","OST",&col);
 --- a/system/machine/computer.c
 +++ b/system/machine/computer.c
 @@ -63,6 +63,7 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git



More information about the debian-science-commits mailing list