Cramfs: fix abad comparison when wrap-arounds occur
It is possible for corrupted filesystem images to produce very large block offsets that may wrap when a length is added, and wrongly pass the buffer size test. Reported-by: NAnatoly Trosinenko <anatoly.trosinenko@gmail.com> Signed-off-by: NNicolas Pitre <nico@linaro.org> Cc: stable@vger.kernel.org
Showing
想要评论请 注册 或 登录