5 // At one point, poll()'s checking was not done accurately. This test
6 // exposes this -- previously Memcheck only found one error, now if finds
11 // Under-allocate by one byte so we get an addressability error.
12 struct pollfd
* ufds
= malloc(2 * sizeof(struct pollfd
) - 1);
17 //ufds[1].fd = 0; // leave undefined so we get another error.
20 // Previously, the bounds-error due to the under-allocation was detected,
21 // but not the undefined value error due to ufds[1].fd not being defined.