Messages in this thread | | | Date | Fri, 29 May 1998 15:43:34 +0100 (BST) | From | Matthew Kirkwood <> | Subject | mmap bug? |
| |
Hi,
It seems that attempts to mmap a region of size zero causes mmap to return zero. Is this a bug?
Since it doesn't return -1, it looks like success, but of course dereferencing this NULL pointer causes a crash.
glibc relies on st_size in a few places from stat().
Matthew.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |