==11432== Conditional jump or move depends on uninitialised value(s)
==11432== at 0x8048B62: count_str (cp_buff_to_tab.c:22)
==11432== by 0x8048B86: cp_buff_to_tab (cp_buff_to_tab.c:41)
==11432== by 0x80487D8: main (main.c:45)
==11432==
==11432== Conditional jump or move depends on uninitialised value(s)
==11432== at 0x80489B7: my_strlen (functions.c:38)
==11432== by 0x8048BDA: cp_buff_to_tab (cp_buff_to_tab.c:51)
==11432== by 0x80487D8: main (main.c:45)
==11432==
==11432== Invalid write of size 4
==11432== at 0x8048C75: cp_buff_to_tab (cp_buff_to_tab.c:59)
==11432== by 0x80487D8: main (main.c:45)
==11432== Address 0x3C11641C is 4 bytes inside a block of size 5 alloc'd
==11432== at 0x3C03418B: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck.so)
==11432== by 0x8048B96: cp_buff_to_tab (cp_buff_to_tab.c:41)
==11432== by 0x80487D8: main (main.c:45)
Partager