Skip to content
 
 

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

mmapfail

Bash script to detect bad checks of mmap() return value

what?

The mmap() POSIX function returns MAP_FAILED or -1 when an error occurs. A common mistake is to check the return value for 0 instead. This script tries to heuristically find such bugs in an automated way.

findings

Article (in German):

About

Simple shell script to detect bad checks of mmap() return value

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages