tags 682416 + pending thanks Dear maintainer,
I've prepared an NMU for smstools (versioned as 3.1.14-1.2) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Billy Joel: Piano Man
diff -u smstools-3.1.14/debian/changelog smstools-3.1.14/debian/changelog --- smstools-3.1.14/debian/changelog +++ smstools-3.1.14/debian/changelog @@ -1,3 +1,15 @@ +smstools (3.1.14-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix "smsd -s produces Segmentation fault": + add new patch processid.patch, backported from 3.1.15 release: + "When creating a lockfile, main process used incorrect offset -1 with the + table of names of processes. This caused segmentation fault when smsd was + compiled using latest compilers." + (Closes: #682416) + + -- gregor herrmann <gre...@debian.org> Mon, 12 Nov 2012 19:03:31 +0100 + smstools (3.1.14-1.1) unstable; urgency=low * Non-maintainer upload. diff -u smstools-3.1.14/debian/patches/series smstools-3.1.14/debian/patches/series --- smstools-3.1.14/debian/patches/series +++ smstools-3.1.14/debian/patches/series @@ -2,0 +3 @@ +processid.patch only in patch2: unchanged: --- smstools-3.1.14.orig/debian/patches/processid.patch +++ smstools-3.1.14/debian/patches/processid.patch @@ -0,0 +1,25 @@ +Description: When creating a lockfile, main process used incorrect offset -1 + with the table of names of processes. This caused segmentation fault when + smsd was compiled using latest compilers. +Origin: upstream + http://smstools3.kekekasvi.com/topic.php?post=4158#post4158 + and the 3.1.15 release +Bug: http://smstools3.kekekasvi.com/topic.php?id=831 +Bug-Debian: http://bugs.debian.org/682416 +Author: Keijo Kasvi +Reviewed-by: gregor herrmann <gre...@debian.org> +Last-Update: 2012-11-12 +Applied-Upstream: in 3.1.15 + +--- a/src/locking.c ++++ b/src/locking.c +@@ -42,7 +42,8 @@ + lockfile=open(lockfilename,O_CREAT|O_EXCL|O_WRONLY,0644); + if (lockfile>=0) + { +- snprintf(pid, sizeof(pid), "%i %s\n", (int)getpid(), DEVICE.name); ++ snprintf(pid, sizeof(pid), "%i %s\n", (int)getpid(), ++ (process_id == -1) ? "MAINPROCESS" : DEVICE.name); + write(lockfile, pid, strlen(pid)); + close(lockfile); + sync();
signature.asc
Description: Digital signature