Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==21272== Memcheck, a memory error detector
- ==21272== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
- ==21272== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
- ==21272== Command: ./oblig2 p pac.txt
- ==21272==
- ==21272== Syscall param open(filename) points to unaddressable byte(s)
- ==21272== at 0x3DCE2DB240: __open_nocancel (in /lib64/libc-2.12.so)
- ==21272== by 0x3DCE272AFE: _IO_file_fopen@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
- ==21272== by 0x3DCE266F35: __fopen_internal (in /lib64/libc-2.12.so)
- ==21272== by 0x40074D: main (oblig2.c:12)
- ==21272== Address 0x0 is not stack'd, malloc'd or (recently) free'd
- ==21272==
- ==21272==
- ==21272== HEAP SUMMARY:
- ==21272== in use at exit: 0 bytes in 0 blocks
- ==21272== total heap usage: 2 allocs, 2 frees, 1,136 bytes allocated
- ==21272==
- ==21272== All heap blocks were freed -- no leaks are possible
- ==21272==
- ==21272== For counts of detected and suppressed errors, rerun with: -v
- ==21272== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement