Skip to content
  1. May 11, 2017
  2. May 08, 2017
  3. May 05, 2017
  4. May 04, 2017
  5. May 03, 2017
  6. May 02, 2017
  7. May 01, 2017
  8. Apr 30, 2017
  9. Apr 28, 2017
  10. Apr 27, 2017
  11. Apr 25, 2017
  12. Apr 24, 2017
  13. Apr 21, 2017
  14. Apr 20, 2017
  15. Apr 17, 2017
    • Andy Polyakov's avatar
      asn1/a_int.c: clean up asn1_get_int64. · 786b6a45
      Andy Polyakov authored
      
      
      Trouble was that integer negation wasn't producing *formally* correct
      result in platform-neutral sense. Formally correct thing to do is
      -(int64_t)u, but this triggers undefined behaviour for one value that
      would still be representable in ASN.1. The trigger was masked with
      (int64_t)(0-u), but this is formally inappropriate for values other
      than the problematic one. [Also reorder branches to favour most-likely
      paths and harmonize asn1_string_set_int64 with asn1_get_int64].]
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3231)
      786b6a45
  16. Apr 14, 2017