Re: [PATCH 18/24] core.5: Use adequate type

2020-09-11 Thread Michael Kerrisk (man-pages)
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 >

[PATCH 18/24] core.5: Use adequate type

2020-09-10 Thread Alejandro Colomar
'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