Hi Niels,

I wasn't responding because I was on a vacation. I will take a look at it
now.

On Thu, Sep 15, 2022 at 8:02 PM Niels Möller <ni...@lysator.liu.se> wrote:

> ni...@lysator.liu.se (Niels Möller) writes:
>
> > Thanks, merged to a new branch, "balloon", for testing.
>
> The ubsan test failed (built with CFLAGS="-fsanitize=undefined
> -fno-sanitize-recover -g -O2"). See
> https://gitlab.com/gnutls/nettle/-/jobs/3029478202, could e.g, be a call
>
>   sha256_update(ctx, 0, NULL)
>
> which results in a call to memcpy(..., NULL, 0). Mostly harmless in
> itself, but violates the non-null annotation on glibc memcpy, shouldn't
> happen, and might be a sign of additional problems.
>
> Can you investigate, and post a patch relative to the balloon branch? If
> you do another patch, please also consider simplifying the tests by
> eliminating the "fail" variable.
>
> Regards,
> /Niels
>
> --
> Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
> Internet email is subject to wholesale government surveillance.
>
>
_______________________________________________
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se

Reply via email to