Version in base suite: 0.11.3-1 Base version: libbsd_0.11.3-1 Target version: libbsd_0.11.3-1+deb11u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/libb/libbsd/libbsd_0.11.3-1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/libb/libbsd/libbsd_0.11.3-1+deb11u1.dsc changelog | 8 ++++++ patches/Fix-infinite-loop-on-MD5File-symbol-use.patch | 22 ++++++++++++++++++ patches/series | 1 3 files changed, 31 insertions(+) diff -Nru libbsd-0.11.3/debian/changelog libbsd-0.11.3/debian/changelog --- libbsd-0.11.3/debian/changelog 2021-02-09 05:36:23.000000000 +0000 +++ libbsd-0.11.3/debian/changelog 2023-05-07 17:13:23.000000000 +0000 @@ -1,3 +1,11 @@ +libbsd (0.11.3-1+deb11u1) bullseye; urgency=medium + + * Fix infinite loop when using MD5File() symbol due to missing symbol + redirection. Thanks to Guillaume Morin . + Closes: #1033671 + + -- Guillem Jover Sun, 07 May 2023 19:13:23 +0200 + libbsd (0.11.3-1) unstable; urgency=medium * New upstream release. diff -Nru libbsd-0.11.3/debian/patches/Fix-infinite-loop-on-MD5File-symbol-use.patch libbsd-0.11.3/debian/patches/Fix-infinite-loop-on-MD5File-symbol-use.patch --- libbsd-0.11.3/debian/patches/Fix-infinite-loop-on-MD5File-symbol-use.patch 1970-01-01 00:00:00.000000000 +0000 +++ libbsd-0.11.3/debian/patches/Fix-infinite-loop-on-MD5File-symbol-use.patch 2023-05-07 17:13:23.000000000 +0000 @@ -0,0 +1,22 @@ +Author: Guillem Jover +Description: The MD5File() symbol is calling itself causing an infinite loop. + This was caused by an omission when switching to use the symbol redirects, + which was not applied for this symbol, but was subsequently fixed w/o notice + when the redirection method was changed, so this was not spotted as a stable + candidate fix. +Origin: upstream, commit:e7cf8c5785b14fc8fbd37bb665a5f9a4f28c7888 +Bug-Debian: https://bugs.debian.org/1033671 +Forwarded: not-needed +Last-Update: 2023-05-07 + +--- a/src/md5.c ++++ b/src/md5.c +@@ -105,7 +105,7 @@ + MD5File(const char *filename, char *buf) + { + libmd_wrapper(MD5File); +- return MD5File(filename, buf); ++ return libmd_MD5File(filename, buf); + } + + char * diff -Nru libbsd-0.11.3/debian/patches/series libbsd-0.11.3/debian/patches/series --- libbsd-0.11.3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libbsd-0.11.3/debian/patches/series 2023-05-07 17:13:23.000000000 +0000 @@ -0,0 +1 @@ +Fix-infinite-loop-on-MD5File-symbol-use.patch