Re: [PATCH v2 1/2] printf %p specifier requires `void *` argument

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Thu, 13 May 2021, Michael Forney wrote:

> It is undefined behavior to call printf with an argument for %p
> that does not have type `void *` (see C99 7.19.6.1p9).
> ---
> On 2020-02-05, Damien Miller <djm@xxxxxxxxxxx> wrote:
> > I'll look at fixing the %p warning
> > after release, probably by removing all the %p formats :)
> > 
> > The RB_GENERATE_STATIC one I'll also look at after release, by syncing
> > openbsd-compat/sys-tree.h with upstream as that has already fixed the
> > same problem.
> 
> Resending these patches rebased on latest master.

Thanks - I think I'd prefer to remove most of the %p logging. Will
take a look.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux