The variable copied is a size_t, so setting a negative value to it is
invalid.
The patch add an "err" variable for getting the error code.
Signed-off-by: LABBE Corentin
---
net/llc/af_llc.c | 20
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git
The variable copied is a size_t, so setting a negative value to it is
invalid.
The patch add an "err" variable for getting the error code.
Signed-off-by: LABBE Corentin
---
net/llc/af_llc.c | 20
1 file changed, 12 insertions(+), 8 deletions(-)
2 matches
Mail list logo