Control: fixed -1 0.11.4-1
Control: severity -1 serious

On Wed, 2023-03-29 at 20:51:07 +0200, Guillaume Morin wrote:
> Package: libbsd0
> Version: 0.11.3-1
> Tags: patch,upstream,fixed-upstream,bullseye

> MD5File in bullseye is essentially an infinite loop. It just calls
> itself.
> 
> The simplest fix is
> 
> --- 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 *
> 
> This was fixed upstream by 
> https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/e7cf8c5785b14fc8fbd37bb665a5f9a4f28c7888

Ah, nice catch! I think I missed that during the switch. I'll be
preparing a stable update later today to propose to the release team.

Thanks,
Guillem

Reply via email to