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 <[email protected]> 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.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
