Skip to content

daemon: avoid memory leak when reading broken incoming TCP stream

Grigorii Demidov requested to merge various-tcp-fixes into master

Leak scenario:

  1. client establishes TCP connection
  2. sends valid query
  3. sends valid query prefixed by wrong length (less then length of DNS query)
  4. leak
Edited by Petr Špaček

Merge request reports