]> Zhao Yanbai Git Server - minix.git/commit
VM,MFS: better handling of some exceptional cases 80/2880/1
authorBen Gras <ben@minix3.org>
Thu, 6 Nov 2014 13:39:32 +0000 (14:39 +0100)
committerBen Gras <ben@minix3.org>
Mon, 10 Nov 2014 16:51:57 +0000 (17:51 +0100)
commitf53651de0112c46184d7346041fb8e1c8e02bba9
tree5375b7e7dc895c85537714d95704c86d3dd90aff
parent957802cd0cf83421da2a4a3998e8a7f4f54e6028
VM,MFS: better handling of some exceptional cases

Fix for problems reported by Alejandro Hernández:
. VM unmap: handle case where there is no nextvr

Fixes for problems found by running Melkor ELF fuzzing tool:
. VM: better handle case where region prealloc fails by
  freeing memory that was allocated so far
. MFS fs_readwrite: EOF check should happen for read and
  peek requests, not just read

This fixes #4.

Change-Id: I2adf4eebdfb4c48a297beff0478eed5c917a53a4
minix/fs/mfs/read.c
minix/servers/vm/region.c