mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-12 15:34:23 +00:00
The condition must first check the io-buffer length and then check the content. Otherwise, cat'ting a file that is padded with zeros up to page size (io-buffer size) yields an out-of-range read access.