blob: 919fff7e6c09a978e4b8a3a8c64002fb67efc0dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "common.h"
#include <unistd.h>
int main(int argc, char** argv) {
char buffer[12] = {0};
pread(0, buffer, 10, 0);
CHK_FAIL_START
pread(0, buffer, 14, 0);
CHK_FAIL_END
puts(buffer);
return ret;
}
|