On 9/10/20 11:13 PM, Alejandro Colomar wrote:
> 'nread' is of type 'ssize_t'
> 'tot' adds up different values contained in 'nread',
> so it should also be 'ssize_t', and not 'int' (which possibly overflows).
>
> Signed-off-by: Alejandro Colomar
Thanks, Alex. Patch Applied.
Cheers,
Michael
>
'nread' is of type 'ssize_t'
'tot' adds up different values contained in 'nread',
so it should also be 'ssize_t', and not 'int' (which possibly overflows).
Signed-off-by: Alejandro Colomar
---
man5/core.5 | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/man5/core.5
2 matches
Mail list logo