Skip to content
Snippets Groups Projects
  1. Oct 04, 2021
    • T-X's avatar
      gluon-neighbour-info: fix broken output with large results (#2322) · 531937cf
      T-X authored
      
      Currently a buffer with a fixed size of 8192 bytes is used. However the
      result can potentially be larger, which leads to a truncated JSON
      output on stdout. UDP packets, without compression and with IP
      fragmentation, can be up to 64KiB large.
      
      Instead of using a fixed size buffer on the stack ask the kernel first
      about the size of the UDP data and allocate a buffer of appropriate size
      on the heap before receiving the UDP data.
      
      The issue was observed with a custom respondd provider.
      
      Signed-off-by: default avatarLinus Lüssing <linus.luessing@c0d3.blue>
      Unverified
      531937cf
  2. Mar 15, 2021
  3. Jan 09, 2020
  4. Apr 21, 2019
  5. Jul 25, 2016
  6. Dec 18, 2015
  7. Oct 14, 2015
  8. Jul 09, 2015
  9. Jul 06, 2015
  10. Sep 06, 2014
  11. Aug 28, 2014
Loading