Re: [PATCH] Use size_t for variable list size and length

2012-12-02 Thread Roman Rakus
On 12/01/2012 02:47 AM, Chet Ramey wrote: On 11/29/12 5:07 AM, Roman Rakus wrote: see https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow I've actually read this. I'm skeptical that this change has any pract

Re: [PATCH] Use size_t for variable list size and length

2012-11-30 Thread Chet Ramey
On 11/29/12 5:07 AM, Roman Rakus wrote: > see > https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow I've actually read this. I'm skeptical that this change has any practical effect at all. I'd like to see a ca

[PATCH] Use size_t for variable list size and length

2012-11-29 Thread Roman Rakus
see https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow Signed-off-by: Roman Rakus --- variables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variables.h b/variables.h index 84e92b