Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- script_extractor.c.orig 2015-09-20 14:11:25.896712635 +0200
- +++ script_extractor.c 2015-09-20 14:11:38.284712948 +0200
- @@ -34,7 +34,7 @@
- fd = open("/dev/mem", O_RDONLY);
- size = SCRIPT_SIZE;
- - if (argc)
- + if (argc > 1)
- size = atoi(argv[1]);
- addr = (char *)mmap(NULL, size, PROT_READ, MAP_SHARED, fd, SCRIPT_START);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement