If we let descriptors equal 0, we can end up closing STDIN. Make sure
they start out as -1.
Signed-off-by: Joe Hershberger
---
Changes in v2: None
arch/sandbox/cpu/eth-raw-os.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox
On 29 June 2018 at 20:20, Joe Hershberger wrote:
> If we let descriptors equal 0, we can end up closing STDIN. Make sure
> they start out as -1.
>
> Signed-off-by: Joe Hershberger
> ---
>
> Changes in v2: None
>
> arch/sandbox/cpu/eth-raw-os.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 dele
2 matches
Mail list logo