[openssl-dev] [openssl.org #4094] Nonsensical pointer comparison in PACKET_buf_init

Stefan.Neis@t-online.de via RT rt at openssl.org
Thu Oct 22 18:02:46 UTC 2015


    Hi,

Wouldn't
  if ( UINTPTR_MAX - (uintptr_t) buffer < len)
be closer to the intention of the original check?
Or is this undefined behaviour as well and I
stupidly missed that fact?

        Regards,
                 Stefan




More information about the openssl-dev mailing list