1. 03 11月, 2016 3 次提交
    • S
      Fix link to LibFuzzer · fe2582a2
      Sergey Bronnikov 提交于
      CLA: trivial
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/1801)
      fe2582a2
    • M
      Add a read_ahead test · 7856332e
      Matt Caswell 提交于
      This test checks that read_ahead works correctly when dealing with large
      records.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      7856332e
    • M
      Fix read_ahead · a7faa6da
      Matt Caswell 提交于
      The function ssl3_read_n() takes a parameter |clearold| which, if set,
      causes any old data in the read buffer to be forgotten, and any unread data
      to be moved to the start of the buffer. This is supposed to happen when we
      first read the record header.
      
      However, the data move was only taking place if there was not already
      sufficient data in the buffer to satisfy the request. If read_ahead is set
      then the record header could be in the buffer already from when we read the
      preceding record. So with read_ahead we can get into a situation where even
      though |clearold| is set, the data does not get moved to the start of the
      read buffer when we read the record header. This means there is insufficient
      room in the read buffer to consume the rest of the record body, resulting in
      an internal error.
      
      This commit moves the |clearold| processing to earlier in ssl3_read_n()
      to ensure that it always takes place.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      a7faa6da
  2. 02 11月, 2016 16 次提交
  3. 01 11月, 2016 5 次提交
  4. 31 10月, 2016 1 次提交
  5. 29 10月, 2016 2 次提交
  6. 28 10月, 2016 13 次提交