Bug#925798: ortp: diff for NMU version 1:1.0.2-1.1

Sudip Mukherjee sudipm.mukherjee at gmail.com
Mon Apr 6 11:23:10 BST 2020


Control: tags 925798 + patch
Control: tags 925798 + pending

Dear maintainer,

I've prepared an NMU for ortp (versioned as 1:1.0.2-1.1) and
uploaded it to mentors for sponsoring. Please feel free to tell me if I
should remove it.

--
Regards
Sudip

diff -Nru ortp-1.0.2/debian/changelog ortp-1.0.2/debian/changelog
--- ortp-1.0.2/debian/changelog	2018-10-10 21:50:59.000000000 +0100
+++ ortp-1.0.2/debian/changelog	2020-04-06 10:50:38.000000000 +0100
@@ -1,3 +1,10 @@
+ortp (1:1.0.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC. (Closes: #925798)
+
+ -- Sudip Mukherjee <sudipm.mukherjee at gmail.com>  Mon, 06 Apr 2020 10:50:38 +0100
+
 ortp (1:1.0.2-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru ortp-1.0.2/debian/patches/fix_strcat.patch ortp-1.0.2/debian/patches/fix_strcat.patch
--- ortp-1.0.2/debian/patches/fix_strcat.patch	1970-01-01 01:00:00.000000000 +0100
+++ ortp-1.0.2/debian/patches/fix_strcat.patch	2020-04-06 10:50:17.000000000 +0100
@@ -0,0 +1,20 @@
+Description: use strcat() instead of strncat()
+ It is doing strncat() and the length mentioned is the full length of
+ the string. We can use strcat() instead of strncat() with full string.
+
+Author: Sudip Mukherjee <sudipm.mukherjee at gmail.com>
+Bug-Debian: https://bugs.debian.org/925798
+
+---
+
+--- ortp-1.0.2.orig/src/logging.c
++++ ortp-1.0.2/src/logging.c
+@@ -217,7 +217,7 @@ char * ortp_strcat_vprintf(char* dst, co
+ 	retlen = strlen(ret);
+ 
+ 	if ((dst = ortp_realloc(dst, dstlen+retlen+1)) != NULL){
+-		strncat(dst,ret,retlen);
++		strcat(dst,ret);
+ 		dst[dstlen+retlen] = '\0';
+ 		ortp_free(ret);
+ 		return dst;
diff -Nru ortp-1.0.2/debian/patches/series ortp-1.0.2/debian/patches/series
--- ortp-1.0.2/debian/patches/series	2018-10-10 21:50:59.000000000 +0100
+++ ortp-1.0.2/debian/patches/series	2020-04-06 10:50:30.000000000 +0100
@@ -1 +1,2 @@
 fix-spelling
+fix_strcat.patch



More information about the Pkg-voip-maintainers mailing list