[med-svn] [Git][med-team/perm][master] 2 commits: d/p/fix-buffer-overflow.patch: Do not reduce buffer size by 1

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Tue Aug 3 08:48:52 BST 2021



Nilesh Patra pushed to branch master at Debian Med / perm


Commits:
9386d0a6 by Nilesh Patra at 2021-08-03T13:17:39+05:30
d/p/fix-buffer-overflow.patch: Do not reduce buffer size by 1

- - - - -
e7ad5de0 by Nilesh Patra at 2021-08-03T13:18:15+05:30
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/patches/fix-buffer-overflow.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+perm (0.4.0-7) unstable; urgency=medium
+
+  * Team Upload.
+  * d/p/fix-buffer-overflow.patch: Do not reduce buffer size by 1
+
+ -- Nilesh Patra <nilesh at debian.org>  Tue, 03 Aug 2021 13:17:48 +0530
+
 perm (0.4.0-6) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/patches/fix-buffer-overflow.patch
=====================================
@@ -36,7 +36,7 @@ Last-Update: 2021-08-03
      }
      int iBufSizeMinus1 = iBufSize - 1;
 -    char* returnV = strncpy(caBuf, str, iBufSizeMinus1);
-+    int returnV = strlcpy(caBuf, str, iBufSizeMinus1);
++    int returnV = strlcpy(caBuf, str, iBufSize);
      if (iBufSizeMinus1 >= 0) {
          caBuf[iBufSizeMinus1] = '\0';
      } else {



View it on GitLab: https://salsa.debian.org/med-team/perm/-/compare/0f28975f9628428774265176a1d1ac3fb1745231...e7ad5de00b5731377ca41cc9fae9dbceb19301e1

-- 
View it on GitLab: https://salsa.debian.org/med-team/perm/-/compare/0f28975f9628428774265176a1d1ac3fb1745231...e7ad5de00b5731377ca41cc9fae9dbceb19301e1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210803/80682c39/attachment-0001.htm>


More information about the debian-med-commit mailing list