diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:34 +0000 |
commit | 8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0 (patch) | |
tree | 041e487e60a900d7d85f57307892acb586640822 /debian/patches/102992.patch | |
parent | Adding upstream version 7.0.14-dfsg. (diff) | |
download | virtualbox-23238d807004aacccd53dc3a18be3e0c6c87f214.tar.xz virtualbox-23238d807004aacccd53dc3a18be3e0c6c87f214.zip |
Adding debian version 7.0.14-dfsg-4.debian/7.0.14-dfsg-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/102992.patch')
-rw-r--r-- | debian/patches/102992.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/102992.patch b/debian/patches/102992.patch new file mode 100644 index 00000000..58319078 --- /dev/null +++ b/debian/patches/102992.patch @@ -0,0 +1,25 @@ +Index: include/iprt/string.h +=================================================================== +--- a/include/iprt/string.h (revision 102991) ++++ b/include/iprt/string.h (revision 102992) +@@ -255,16 +255,16 @@ + * + * @param a_pDst Pointer to the destination string buffer. + * @param a_pSrc Pointer to the source NULL-terminated string buffer. +- * @param a_cbToCopy Size of destination buffer.. ++ * @param a_cbDst Size of destination buffer. + */ + #if defined(RT_OS_LINUX) && defined(__KERNEL__) + # if (RTLNX_VER_MIN(3,16,60)) +-# define RT_STRSCPY(a_pDst, a_pSrc, a_cbToCopy) strscpy((a_pDst), (a_pSrc), (a_cbToCopy)) ++# define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst) (void)strscpy((a_pDst), (a_pSrc), (a_cbDst)) + # else /* < 3.16.60 */ +-# define RT_STRSCPY(a_pDst, a_pSrc, a_cbToCopy) strlcpy((a_pDst), (a_pSrc), (a_cbToCopy)) ++# define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst) strlcpy((a_pDst), (a_pSrc), (a_cbDst)) + # endif + #else /* !RT_OS_LINUX && !__KERNEL__ */ +-# define RT_STRSCPY(a_pDst, a_pSrc, a_cbToCopy) strscpy((a_pDst), (a_pSrc), (a_cbToCopy)) ++# define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst) (void)strscpy((a_pDst), (a_pSrc), (a_cbDst)) + #endif /* !RT_OS_LINUX && !__KERNEL__ */ + + |