Skip to content
  • Amir Livneh's avatar
    Fix use of uninitialized data in tests · 8e2f0f86
    Amir Livneh authored
    write_single_frame_pkt() returns a packet length greater than the number of bytes it writes to the buffer. The returned length reflects a fake AEAD overhead, while this extra overhead is never written. As a result, ngtcp2_verify_stateless_reset_token() uses initialized data when reading the end of the packet. This causes noise when using a memory sanitizer.
    8e2f0f86