]> Zhao Yanbai Git Server - minix.git/commit
Fix out of array bounds errors with -O3 14/1014/1
authorLionel Sambuc <lionel@minix3.org>
Tue, 8 Oct 2013 09:43:31 +0000 (11:43 +0200)
committerLionel Sambuc <lionel@minix3.org>
Tue, 8 Oct 2013 09:43:31 +0000 (11:43 +0200)
commitffba9c2def3aece437c33111d4ccd43b614f1cd8
treeaf239963eb8a41b756425eb109c0ddab07a8f192
parent374af94b2b47cddd3c29aad7a2766c76a5326268
Fix out of array bounds errors with -O3

When compiling with -O3 gcc seems to be a lot stricter on its checks for
index out of bounds error.

Change-Id: I5a63e1db6aa2375223ff13c6352643a9804fa93d
lib/libcurses/copywin.c
usr.sbin/mtree/spec.c