From: Jakub Kicinski <[email protected]> Date: Thu, 22 Jun 2017 18:57:55 -0700
> KASAN reports out-of-bound access in proc_dostring() coming from
> proc_tcp_available_ulp() because in case TCP ULP list is empty
> the buffer allocated for the response will not have anything
> printed into it. Set the first byte to zero to avoid strlen()
> going out-of-bounds.
>
> Fixes: 734942cc4ea6 ("tcp: ULP infrastructure")
> Signed-off-by: Jakub Kicinski <[email protected]>
Applied, thanks.
