• Show log

    Commit

  • Hash : f1986a23
    Author : Edward Thomson
    Date : 2019-01-21T09:56:23

    streams: don't write more than SSIZE_MAX
    
    Our streams implementation takes a `size_t` that indicates the length of
    the data buffer to be written, and returns an `ssize_t` that indicates
    the length that _was_ written.  Clearly no such implementation can write
    more than `SSIZE_MAX` bytes.  Ensure that each TLS stream implementation
    does not try to write more than `SSIZE_MAX` bytes (or smaller; if the
    given implementation takes a smaller size).