Hi, In /test/mocklibc/src/netgroup.c on line 336 there is a buffer overwrite: 329 if (iter->depth > NETGROUP_MAX_DEPTH) { 330 iter->depth = -1; NETGROUP_MAX_DEPTH is 32 [..] 336 iter->stack[iter->depth] = child; Thanks
Created attachment 116270 [details] [review] 0001-tests-Correct-boundary-test-for-overflow.patch Also filed this upstream as https://code.google.com/p/mocklibc/issues/detail?id=4&thanks=4&ts=1433363719
Upstream hasn't seen any movement, but the fix seems right, so pushing it now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.