1. 15 10月, 2020 1 次提交
  2. 01 10月, 2020 1 次提交
  3. 29 9月, 2020 1 次提交
  4. 18 11月, 2019 1 次提交
    • S
      Fix Use after free when copying cipher ctx · f75abcc0
      Shane Lontis 提交于
      Fixes #10438
      issue found by clusterfuzz/ossfuzz
      
      The dest was getting a copy of the src structure which contained a pointer that should point to an offset inside itself - because of the copy it was pointing to the original structure.
      
      The setup for a ctx is mainly done by the initkey method in the PROV_CIPHER_HW structure. Because of this it makes sense that the structure should also contain a copyctx method that is use to resolve any pointers that need to be setup.
      
      A dup_ctx has been added to the cipher_enc tests in evp_test. It does a dup after setup and then frees the original ctx. This detects any floating pointers in the duplicated context that were pointing back to the freed ctx.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/10443)
      f75abcc0
  5. 10 10月, 2019 1 次提交
  6. 19 9月, 2019 1 次提交