msysgit/Git-Cheetah — pull request #12 by raphaelsc (2014-01-04 21:50:30+00:00)
Title: mmap: Add validation procedure to git_mmap

git_mmap implementation lacked some checks to validate the passed arguments, this commit undoes this.

NOTE: Used git interface to change the code, so please check if it does compile properly. Double-checked my changes, but there might be some warning or something else.

Signed-off-by: Raphael S. Carvalho