Re: [PATCH 3/4] ext4: basic bug shield for move_extent_per_page From: Theodore Ts'o <tytso@mit.edu> Date: 2012-09-26 16:50:13 Applied, thanks. I added one sanity check: + for(bh = head, block_start = 0; bh != head || !block_start; + block++, block_start = block_end, bh = bh->b_this_page) { ... BUG_ON(nr >= MAX_BUF_PER_PAGE);+ arr[nr++] = bh; + } ...just to make sure a corrupted link list on b_this_page can't cause a on-stack array overrun. - Ted
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help