file map: cause SIGBUS when access to a page beyond EOF
Change-Id: Iaf7d792413e674267fd1c05c382212c8f67d8f5b Refs: #1291
This commit is contained in:
committed by
Masamichi Takagi
parent
1492f16d67
commit
c371fbf13b
11
test/issues/1291/Makefile
Normal file
11
test/issues/1291/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
CFLAGS=-g
|
||||
LDFLAGS=
|
||||
|
||||
TARGET=map_and_read
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
test: all
|
||||
./C1291.sh
|
||||
clean:
|
||||
rm -f $(TARGET) *.o *.txt
|
||||
Reference in New Issue
Block a user