[T3256@GURY GibletSearch]$ valgrind ~/C-Programs/Random/GibletSearch/gibletsearch '/home/T3256/Tools/valgrind-3.5.0'
==3428== Memcheck, a memory error detector
==3428== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==3428== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==3428== Command: /home/T3256/C-Programs/Random/GibletSearch/gibletsearch /home/T3256/Tools/valgrind-3.5.0
==3428==
**************************************
GibletSearch v1.1
**************************************
by Assimilator
--------------------------------------
Enter keyword: e
Looking in: /home/T3256/Tools/valgrind-3.5.0
[###################==3428== Invalid read of size 2] 76%
==3428== at 0xA064CD: getc (getc.c:40)
==3428== by 0x8048DDF: getline (gibletsearch.c:178)
==3428== by 0x8048D1E: searchkey (gibletsearch.c:152)
==3428== by 0x62203B75: ???
==3428== Address 0x73623e2d is not stack'd, malloc'd or (recently) free'd
==3428==
==3428==
==3428== Process terminating with default action of signal 11 (SIGSEGV)
==3428== Access not within mapped region at address 0x73623E2D
==3428== at 0xA064CD: getc (getc.c:40)
==3428== by 0x8048DDF: getline (gibletsearch.c:178)
==3428== by 0x8048D1E: searchkey (gibletsearch.c:152)
==3428== by 0x62203B75: ???
==3428== If you believe this happened as a result of a stack
==3428== overflow in your program's main thread (unlikely but
==3428== possible), you can try to increase the size of the
==3428== main thread stack using the --main-stacksize= flag.
==3428== The main thread stack size used in this run was 10485760.
[######################################------------] 76%==3428==
==3428== HEAP SUMMARY:
==3428== in use at exit: 55,371 bytes in 689 blocks
==3428== total heap usage: 2,270 allocs, 1,581 frees, 3,049,563 bytes allocated
==3428==
==3428== LEAK SUMMARY:
==3428== definitely lost: 0 bytes in 0 blocks
==3428== indirectly lost: 0 bytes in 0 blocks
==3428== possibly lost: 0 bytes in 0 blocks
==3428== still reachable: 55,371 bytes in 689 blocks
==3428== suppressed: 0 bytes in 0 blocks
==3428== Rerun with --leak-check=full to see details of leaked memory
==3428==
==3428== For counts of detected and suppressed errors, rerun with: -v
==3428== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 12 from 8)
Segmentation fault