Rickard Strandqvist writes:
> Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
> And set a string to be empty from the start.
>
> Signed-off-by: Rickard Strandqvist
> ---
> block/elevator.c |4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a
Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
And set a string to be empty from the start.
Signed-off-by: Rickard Strandqvist
---
block/elevator.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/elevator.c b/block/elevator.c
index 24c
2 matches
Mail list logo