Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault problem with zignature #659

Closed
zonkzonk opened this issue Feb 25, 2014 · 7 comments
Closed

segfault problem with zignature #659

zonkzonk opened this issue Feb 25, 2014 · 7 comments

Comments

@zonkzonk
Copy link
Contributor

morrn,

last one before rc/release:

problem with zignature, buf uuencoded at the end

, r2 -c "e`cat /tmp/buf`" /tmp/cp
grep string too long
r_config_get: variable '??sau??s3' not found
parse: Missing backtick in expression.
sh: -c: line 0: syntax error near unexpected token `&'
sh: -c: line 0: `&$mW??\'
sh: $'\211\336\325\376\370F\021\300\345\214I\311\371\031\037\2116\r\273\262W\027\372': command not found
Invalid address (P1MU)
sh: -c: line 0: unexpected EOF while looking for matching ``'
sh: -c: line 1: syntax error: unexpected end of file
Slurping file '???7!?\?\??D?,?2???/???u?
                                        ?}`?#??Eu-jI9?F?/.?2???6b???9?L?Q?#????we?[??Jh&X+FC?_@?4?"??2\!??@??"??&?
                                                                                                                  ?/????$?l????Bv??CM2? ??)??}??n36.?E?9(+???Nc?`??]??qS|?1??'
cannot open file
|ERROR| Invalid command 'Usage: z[abcp/*-] [arg]'
TODO
r_sign_add: TODO. unsupported signature type 97
Invalid address (fcn.foo  flag signature if matching (.zc)
Invalid range (0x0-0x0).
|ERROR| Invalid command 'NOTE: bytes can contain '.' (dots) to specify a binary mask'
Slurping file '?'}a??F36c???'
cannot open file
?-??r[?/[??=???B???H?>H?NPy??)?T!k??P 1?[4c?<?'}a??F36c???'
 -- Warning, your trial license is about to expire
[0x00403609]> q
Segmentation fault
Core was generated by `r2 -c e ??sau??s3~?Y2@????4r??Q?96d?LR?j?A?l?&?nN???5?K???^*j'.
#0  0x00007f52ecc28c93 in malloc_consolidate () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007f52ecc28c93 in malloc_consolidate () from /usr/lib/libc.so.6
#1  0x00007f52ecc29661 in _int_free () from /usr/lib/libc.so.6
#2  0x00007f52f084d65b in r_core_cmd (core=0x6068e0 <r>, cstr=0x25492f0 " zh name bytes  define function header zignature", log=0) at cmd.c:1511
#3  0x00007f52f084db72 in r_core_cmd0 (user=0x6068e0 <r>, cmd=0x25492f0 " zh name bytes  define function header zignature") at cmd.c:1622
#4  0x00007f52f0849f37 in cmd_interpret (data=0x6068e0 <r>, input=0x2538701 "z9\235\311\006") at cmd.c:426
#5  0x00007f52eed58f19 in r_cmd_call (cmd=0x2508af0, input=0x2538700 ".z9\235\311\006") at cmd.c:172
#6  0x00007f52f084cb5a in r_core_cmd_subst_i (core=0x6068e0 <r>, cmd=0x2538700 ".z9\235\311\006") at cmd.c:1306
#7  0x00007f52f084b3ac in r_core_cmd_subst (core=0x6068e0 <r>, cmd=0x2538700 ".z9\235\311\006") at cmd.c:879
>snip<
(gdb) x/i $pc
=> 0x7f52ecc28c93 <malloc_consolidate+547>:     mov    0x28(%rdx),%rdi
begin 644 buf.core
MUZ>?%W-A==(0WQ]S,WZ163)`^N6FMH@T<OB&OP[L4=0Y-F3]A,=,4MUJ\D'>
M;,8FG1\4;D[3N>G,XNPUJTO<P\;BX0=>*FI/[;T/G]5Z=;5H32=QCK"S766&
ME<[^W:W:6QWHIP4+$UGE2X@%+1ZC$L6EYH:W@H*1`L>H=6I"\;1-!D2=S?&\
MPB9<FA@L2H"L$69P\'7,+<*>*BW(O1*KL?U5<)#K@07?_#VYV;I4]<X[.C+K
MY<V;XUG%\C/X<YW=Z(#^F;S_GTNZUDW:G09C/WI8YMPWULLP.I7?P?ZH?8!D
MHKW990CAZG4H;_N!32JH)*B?:5P%3GM=X[DUYB@[N<Q#0HB:.7UCY6R4N;J.
M/J$#S'_CR*+=VG>AQOS;&\<B\]P`9G8X*-W(UCNYWON'(4F`HO?]Y/-PSB?P
MEJH.DK3/T4;T(L'4#`N/T6FES<%],*WZR1\8->?YZS&O$FHME`40`!EGU99=
M&%!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0''$&%M8
M@K;G"WFY4NA"MINH)L7/C]S]/3R\>6N/<WAD:%"J9^*PUP/,%F@U!/D%>5)[
M>P(B2R#L"92ZBE=]X>X`5`'<5*`J(^J?'(3;S<W%LITN!-]0:+TBZ,_L>Q;2
M')+9\=>P9!SE<GHD7<L[Z"=(!8,%HV_2W=^?>'"9'=/F80VL&R__[L%*K!D:
M7$;"SCCXLE=+C(L"TSD@3WK'YZI$LOM'3K+W`?6B"[20D,I,,J%/<-AJHR$8
MGM1MG\29V/T-KQLM?WW[8"*VU!;C]PU?%ALIR:H)L&L(+]V\P0<$!/??:AH*
`
end

greetings
z.

@radare
Copy link
Collaborator

radare commented Feb 25, 2014

Provide valgrind log plz. Also, if you have coverity access try to correlate the valgrind warnings with coverity defects. That may help to solve other issues difficult to reproduce. I'll try to reproduce your issue later.

Thx

On 25 Feb 2014, at 16:31, zonkzonk [email protected] wrote:

morrn,

last one before rc/release:

problem with zignature, buf uuencoded at the end

, r2 -c "ecat /tmp/buf" /tmp/cp
grep string too long
r_config_get: variable '??sau??s3' not found
parse: Missing backtick in expression.
sh: -c: line 0: syntax error near unexpected token &' sh: -c: line 0:&$mW??'
sh: $'\211\336\325\376\370F\021\300\345\214I\311\371\031\037\2116\r\273\262W\027\372': command not found
Invalid address (P1MU)
sh: -c: line 0: unexpected EOF while looking for matching ``'
sh: -c: line 1: syntax error: unexpected end of file
Slurping file '???7!????D?,?2???/???u?
?}?#??Eu-jI9?F?/.?2???6b???9?L?Q?#????we?[??Jh&X+FC?_@?4?"??2!??@??"??&? ?/????$?l????Bv??CM2? ??)??}??n36.?E?9(+???Nc???]??qS|?1??'
cannot open file
|ERROR| Invalid command 'Usage: z[abcp/*-] [arg]'
TODO
r_sign_add: TODO. unsupported signature type 97
Invalid address (fcn.foo flag signature if matching (.zc)
Invalid range (0x0-0x0).
|ERROR| Invalid command 'NOTE: bytes can contain '.' (dots) to specify a binary mask'
Slurping file '?'}a??F36c???'
cannot open file
?-??r[?/[??=???B???H?>H?NPy??)?T!k??P 1?[4c?<?'}a??F36c???'
-- Warning, your trial license is about to expire
[0x00403609]> q
Segmentation fault
Core was generated by`r2 -c e ??sau??s3~?Y2@????4r??Q?96d?LR?j?A?l?&?nN???5?K???^*j'.
#0 0x00007f52ecc28c93 in malloc_consolidate () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f52ecc28c93 in malloc_consolidate () from /usr/lib/libc.so.6
#1 0x00007f52ecc29661 in _int_free () from /usr/lib/libc.so.6
#2 0x00007f52f084d65b in r_core_cmd (core=0x6068e0 , cstr=0x25492f0 " zh name bytes define function header zignature", log=0) at cmd.c:1511
#3 0x00007f52f084db72 in r_core_cmd0 (user=0x6068e0 , cmd=0x25492f0 " zh name bytes define function header zignature") at cmd.c:1622
#4 0x00007f52f0849f37 in cmd_interpret (data=0x6068e0 , input=0x2538701 "z9\235\311\006") at cmd.c:426
#5 0x00007f52eed58f19 in r_cmd_call (cmd=0x2508af0, input=0x2538700 ".z9\235\311\006") at cmd.c:172
#6 0x00007f52f084cb5a in r_core_cmd_subst_i (core=0x6068e0 , cmd=0x2538700 ".z9\235\311\006") at cmd.c:1306
#7 0x00007f52f084b3ac in r_core_cmd_subst (core=0x6068e0 , cmd=0x2538700 ".z9\235\311\006") at cmd.c:879

snip<
(gdb) x/i $pc
=> 0x7f52ecc28c93 <malloc_consolidate+547>: mov 0x28(%rdx),%rdi
begin 644 buf.core
MUZ>?%W-A==(0WQ]S,WZ163)^N6FMH@T<OB&OP[L4=0Y-F3]A,=,4MUJ\D'> M;,8FG1\4;D[3N>G,XNPUJTO<P\;BX0=>*FI/[;T/G]5Z=;5H32=QCK"S766& ME<[^W:W:6QWHIP4+$UGE2X@%+1ZC$L6EYH:W@H*1L>H=6I";1-!D2=S?&
MPB9<FA@L2H"L$69P'7,+<>BW(O1_KL?U5<)#K@07?#VYV;I4]<X[.C+K
MY<V;XUG%\C/X<YW=Z(#^F;S_GTNZUDW:G09C/WI8YMPWULLP.I7?P?ZH?8!D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+]V\P0<$!/??:AH*
end
greetings
z.


Reply to this email directly or view it on GitHub.

@zonkzonk
Copy link
Contributor Author

==551== Memcheck, a memory error detector
==551== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==551== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==551== Command: r2 -c eקŸ�sauÒ�ß�s3~‘Y2@ú妶ˆ4rø†¿�ìQÔ96dý„ÇLRÝjòAÞlÆ&���nNÓ¹éÌâì5«KÜÃÆâá�^*jOí½�ŸÕzuµhM'qŽ°³]e†•ÎþÝ­Ú[�è§���YåKˆ�-�£�ť憷‚‚‘�ǨujBñ´M�D�Íñ¼Â&\\š�,J€¬�fpðuÌ-ž*-Ƚ�«±ýUp�ë��ßü=¹ÙºTõÎ;:2ëåÍ›ãYÅò3øs�Ýè€þ™¼ÿŸKºÖMÚ��c?zXæÜ7ÖË0:•ßÁþ¨}€d¢½Ùe�áêu(oû�M*¨$¨Ÿi\\�N{]ã¹5æ(;¹ÌCBˆš9}cål”¹ºŽ\>¡�Ì�ãÈ¢ÝÚw¡ÆüÛ�Ç"óÜfv8(ÝÈÖ;¹Þû‡!I€¢÷ýäópÎ'ð–ª�’´ÏÑFô"ÁÔ��Ñi¥ÍÁ}0­úÉ��5çùë1¯�j-”���gÕ–]�PWSŠâyói=û“Q{1�±�áZ¢ù­é[Ú¦Oè÷·�Ìw�ª�P�y˜þå£jÜ›,Œ™ä*™�³/�GáNÕ¼Òó¢kõX×ZLÔ&ÿ5ü�•�Mq�0Í®Œâª‘v®M�]ôk�R¼F\ FI�7¸ôtÓÿ°5���kÇsï°P�ô*3‡°��`³yÿ
==551== /_ói®‹RãsùyîÃ�O»¾h�uíò�Z}ú�›/ðÝ�áCt÷�‰ª�#u�D�Ñ�#c4qÁ~E6ï�T~P{B|&$�mW�úº“¢Œ¶\\|‰ÞÕþøF�ÀåŒIÉù��‰6
»²W�ú\>Nô�i'äAf¯�÷æ��óëå,¹Ëú÷�Z�A‰1žÍ'‘%ä�g:ŠÊ6D\\ü¼cæLeV�V¢‡A!�Óäe��ñÎ�‘ ô�ÔÞ.xr;9A“+þƘëUÃû­Û�o¨aGùÇ”€Ãœí¡¹ó�ìÈkL¡ÄPœ 9%ß
==551== …A¤�ÿiŸÝâ@P1MU~Ž�Wv|”n��…Œ�¨L쪢�³g¤åÛÁ^«a®—k–ÐÿÓl`f¨Í\>èUJFë�ém�\>®7~/�9–\ Ü�£G�ù3NõÂFÅ    \>f�–ÕE‚ñ¸j¿ çñ�Èh'I¹¡×…fôHU®ºUc~”|÷­MV4�\\ì¶yÅ·@ûœ¶mSÎ-È�m
==551== .z9�É�@…ñÚ¶�§+ÞB¾
«5��¹Qš­I@×l\<­²�ဗÞ7!‰\\û¨Ï\\˜ÏDÇ,Çœ2²àÔš/žÎ��uèÅ}`Å#��¶àEu-jI9õFø/.¯2�§¸�™½6bóÇ�ú‡9šL�€Q¯�#®ð�“âöweÁü[œàJh&X�+FCÔ¢_@à4è³"�í�2\\!�Þ•Õ‰@øéÆ"“ê�&¤�ù�/¢šÝºÁ$Úl±²¾ˆBv½¡C�M2Ó�ñèê�œ)žñë}Ôïën36.äE 9�(+�¢ÿ¿Ncß`�¹]Ž�‰qS|Ò1ð�è”�
==551== Àz_ªÜ\\~\\�VÍGSÊŒ
Ë-üàúr[è/[²�=”Ÿ¼Bˆ½‰Hí\>H?NPy�­)îÒT�!kƒëÖP\ 1 [4cÙî\<à'}aÛ‚ÖF36c“¿�
==551== ­£õz5ä£ÈØ®ÃÀÙ)Ÿ�òXQY±�÷��H¾vÙS5ÔËWþ\\'éžyꆟWªì�q���ËùÏT€-lŒ­Ï¦(î*�ot6H[)}/Gª~•[ŸÚ¤@U¥ÂÇUùR*�¦�§�Ët���ñÎ6¼_2q Ôg×õDþ‚qË#�����8�f;DšŒ��Oç²íÁ2é�¾ÙƒºöU²m��ÙZÙ¤�ÖÑÃ
==551== ]�rd`Ô`rÏ�5VsE¬aß-;÷\<Gã?ù�t$ê�&º¡âvãÝÕX�‚\<Ä“¸¶£^8U™»þ±ò&�°5®�DQ
¡jJ�°ë¤KQ˜R`ø=�&¹ €:�:T@`J JÊþ�·²ä�CÆþRqÈ���Ö¾�,Éš�
==551== ·ýq#ÙBô�xx7CÖ
==551== ²n,`
==551== �Š£¼V�GB.mçÐh�ï*n`›Ç��ï\\Ó¡*¡YKn§%¿Or�V.Ë�#    î×ö×_­íÕXÒùÄ‹Ñ0eÆ©ÖìT�âW[í�z#óË’éÀŽùR.)µÉ˶ӌ=b3é}Í�cˆ'ð#‚Ђ¬ä�¶Õm$ºûö"Zò›�}Õ¯��?yá‚ë¤3¾×�òfÞÎÂ�´,¶�/ä¢8Ê����UL†4#çgö=@k��©˜’��D›��áûÍ»0Szæ�™�GaØ�ŸñEµ¤‘tÛ¹�ʤ“"Ü‚ã�ƒ€�+_ßܶûŽôèZÚk½¦Ó+�¿?ÄT•Ü»y˜\>‘�êòÐöFÑÅ�\\69Ðûß0�yˆL˪³†o‰Ï
5M7ö”    �¡�Ú{z—@®]›ã±Œk-Z��f�~yqÉòä¹f�4¡\ ÌèõíJ��
èQ£ÚÌÚ\>YÊŒK
¨-#©¿}êŸO“À�f8–@a2�,�
š�oÐä
==551== �O�Êê��Õ�¸¼²¤^Z$Æz�Çi�C»�#MÓ(¸Ù»6ñ€�T+ˆ�3ht�T�Å`}å=ÿð�r…�ÙÁ+h1\>ƒ:œM?´�üÁ[Š«ßea�¹$Œš~^üÚ�–´OIW9…ÆÙ9æ;b'�tC¾RzñH\ ¤Š«—ß
==551== Þ_ÄÐ_Šã€vµ'\\pêË`‚�ýPÈmI¼;"�¥îìöÚ–ïæΉ7ÌY�u-¹u!›S „¸UÊȉÀb™¬‡‘LrVÏð2­ÜB�–X QÐÅ�”�š^�’�;ÆGê+ž–6…Ë�:�…‘�=¿3�T}®~E|Óßó*’•Tf}ULö^K (ä�_�m��Rã_Ù�W6ÐÀ|¶
==551== }KÒ�‹"ÂTK¢ r’:ÕE‘¬Ï=°\<é�0Ç؂׽7»A­6¦uPÒ"�
==551== YýêKšåZ, �½h�·UEÐÆlá�߉sC¨Äp_’�¼éåy\ “Ëš¸Ý¤4CIf›×õé6rq©D��ÛTü0%��hç�ÆTÇÿÝ.àºXo—xœ�€p�$3�¤�À†Ú~3ôDM¢�†ÆèÚÕ/��½�
==551== 15Ì1Dñíéˆ4Z„¹Úà€�1F8J›«1dª¹À�sâÌ4Ó�»ÍÝ·¦öî¾°Ha¹ �¬¤�ýÊA‰®�P8bP
==551== p!ëV�á¬åg´��ºù’‹Ùš¾²8�²flí¨™á�6�0_^Ú)©1‹�ºs$q_Š°z™Ò+7¶#�™ÌÜŠÌY‡.
¾Â��€u†)¬Žíû—�,„Ù)Ãö_·ç¹¹â$¶�ȸ-êÎé]\\y,g��*‰íi�çØ¥X~�V_~9%�Ø@�JùiZ±9û¡°H¡�™„#!QÔt}-m—ŒH
K�°D�`Û, i:Eù“1[…íAÅöŸVŸ«KY*�•Â�Ó¸ý# —¥RLS`ÛŽòYL¦�¹Ãc¸j¶ªgé��å!²]LÞ¬ú    �èe�Ñ��7’ïœÒÍ‘;›¥�,Tåóô Ÿí–��©]ÖO“�äEøÄb¥s\<û�Õ
Z.�ݶ�f¡˜\ ÞïáÔ½F%Êm௛\\»³�;Å\<QŒÿùh.N‘ÕšhIf,¨7{„2”…&6N¯p÷gPÑ�†f¦6"ŽÓ�Ù«P­ÍŸõÉ‚¼oˆ$Q�B•�€†ñÚ›ºåŒgóÓtɾ°��E^TŠü�ìgŸF�ð¡wÜS…³��H9§�’¨=˜õ‡‚‚�˜\<Ý.�ŒX(�—€e©ÓÙz«÷¸!»|MÁ�Ù��äDA0*Þ�è5Ž!Ó£‡i¾6v“íeȺ�XÉWc•/9HÅòpºÔ@1|¥g��,T3�p\ üÀбâ#«Ò�Èa©‚âìü/Z4��!�lμ2¸·ëôÈ!ºÈsôfL׆%·ºÈ    OZßyþ"Û[l+‰«‹-–‹æló�±éñ†�ô¸Z�‘�©ÍJI�Aï×l«4âð6ɽ¹Â]®ƒW‚=VCÑ�”Ïd±9k��!Ÿ�ø`YS �íx×LG(Š�ØýEØ…¢�Á�oðóQl]úV�’vìkXË�\ =QÌ�'qâÉí¦8"�mή'Ái¿
twIXT$\>0Ío�E\>±Éõ9Å몜u;�»â‹�ècGè½Ü4žî„�e�LL(£�°4ß�Uµ§
==551== 6ï8Ñ�˜çö\>à‰(ù±�ó×1�ãñúÙžà¤�\ À\ ÐîŠÌ�)1�àÅÔ+U*¸˜òm©X�w?Ö·���  U-�V¾¯Ôèl…DÞð¶y�°ßc͉¥Î‚ˆ¹Ñ§¢è BÔ´V!¸Iã­¸ã�jï�ˆ´�FT6í�èyßÅøc³L�xk Ÿž�´³!�½ã%ð�4e$é3&¨­óâ"Àó°€Å¦â‡R¤Z¹}�lÄ\>»I)¸��»ÎõÞé]ä�¡ãÒTo·Î�v7��W�Ûìk~âpº5yÁüW��Hñk-�„úW¤�§®£‰ùIaVSé*ù'Tz™1óÇm�#‚¦'C�ì¼¼‹¤ÖÞ�È‘šd·gù�f"¶�ó§ÐP¦�õê�Å.�k¨�¼””„9jþ6Ì·C‹Ì�sÀ|ï¡�aÏ�zÒU}/ncRT¯Rg�ý#¾�U|!„b`(«_�
==551== �GBIá�..�Ú�·®¬a�_ÑëB�uÔ'2­ü¸€ªÌ�€û©PöjÜÞ*Ò{²BŸ�~«u—ªßsá��s�‰¯f�Ò¡Húx²ìÞ"ezÚ�Ü�,ö�ÁøW�¾Þ7ú#0w0à-96ä7v‡�Ë¥9k”·ìm�ð®f`0ü7Ì9jÆ�ŸR]iÐZ�‡2ÊàL��ve¿�5€�p»Á�\\�à�-†�:aªltÌŸrï³ñœˆ��ÎÁ÷   �ë¸�c�¹÷í†Æ9X7ø{LôhW¢�©Ù%»s©…ô‚�¿k��vSEeÏh9?;›e�­²�Ó¦N8¿�T2ÖÈ
¨�×f½ô�È
O/œe�pCD›xÚüºpÉ$ÿ‹ß3´Ã!ÎÛ̘uYI�ùÀβcàÏØØ*Ä?ßRr‹a�Qx”ÄEzkz¸;Ð�²Îr„d�/¤L�x]\<½žØ�õ‚9ûPbE–¥ÑF邶™KcæÝCû�mX½�-ç�óä6Ôš[™�ê휻�©�Ùû�=AD��Jà�Ì +Ö�¶�Ÿº×5�N”:�OCO[;Úêk‘U:ÑpÜž5�ºÆ�ƒÌC)£[Wü‰”¥1”ý¸ñ�V†M
µâ9Å¢Rïþ�…�DÚ�¼£Nôq®îb÷žÄͺ�:��η/”]Öç�ï�*Ù�Š•�€c§§v´ß=nž¬¯�LÆâ+Q�   ‰Ö@P�Ô(�CÛ}­u+i¤Øû`¦?þ\>€$í‰
Ë‚´PAæ�áÐ
==551== faåU!”Mµá”�ÄL´›í@#1
==551== RHVn6ÎüPdŠTŠ{†�œÃM¬e‹ôAã«(Ø#�i|íÒj�î~�ö�7¤M !�Žÿ…ñ)h‡„öªàÍ:2á„s¤WW?\ d”y+LÉS+×�;œLöÏ®Þi¬Ï+½# %cƒ&�«FÍZ‰÷�¥ôC@tI1Q¾À·�.H4`täkô�4F�4dß��§Rv³��‹ðc2�JÝê]¨Ÿ«§"Þî¤S$†\>�Š†@qÄ�[X‚¶ç�y¹RèB¶›¨&ÅÏ�Üý=\<¼yk�sxdhPªgâ°×�Ì�h5�ù�yR{{�"K\ ì   ”ºŠW}áîT�ÜT *#êŸ�„ÛÍÍŲ�.�ßPh½"èÏì{�Ò�’Ùñ×°d�årz$]Ë;è'H�ƒ�£oÒÝߟxp™�Óæa
¬�/ÿîÁJ¬��\\FÂÎ8ø²WKŒ‹�Ó9\ OzÇçªD²ûGN²÷�õ¢�´��ÊL2¡OpØj£!�žÔmŸÄ™Øý
¯�-�}û`"¶Ô�ã÷
_��)ɪ    °k�/ݼÁ���÷ßj� /tmp/cp
==551== Parent PID: 540
==551== 
==551== Invalid write of size 1
==551==    at 0x4C2CE8A: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==551==    by 0x813043D: r_hex_str2binmask (hex.c:149)
==551==    by 0x5E32782: r_sign_add (sign.c:68)
==551==    by 0x4E51001: ??? (cmd_zign.c:63)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EBF2: ??? (cmd.c:1319)
==551==    by 0x4E6D3AB: ??? (cmd.c:879)
==551==    by 0x4E6F5F3: r_core_cmd (cmd.c:1502)
==551==    by 0x4E6FB71: r_core_cmd0 (cmd.c:1622)
==551==    by 0x4E6BF36: ??? (cmd.c:426)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EB59: ??? (cmd.c:1306)
==551==  Address 0x11d87384 is 2 bytes after a block of size 34 alloc'd
==551==    at 0x4C28730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==551==    by 0x5E326EA: r_sign_add (sign.c:60)
==551==    by 0x4E51001: ??? (cmd_zign.c:63)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EBF2: ??? (cmd.c:1319)
==551==    by 0x4E6D3AB: ??? (cmd.c:879)
==551==    by 0x4E6F5F3: r_core_cmd (cmd.c:1502)
==551==    by 0x4E6FB71: r_core_cmd0 (cmd.c:1622)
==551==    by 0x4E6BF36: ??? (cmd.c:426)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EB59: ??? (cmd.c:1306)
==551==    by 0x4E6D3AB: ??? (cmd.c:879)
==551== 
==551== Invalid write of size 1
==551==    at 0x4C2CDC2: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==551==    by 0x813043D: r_hex_str2binmask (hex.c:149)
==551==    by 0x5E32782: r_sign_add (sign.c:68)
==551==    by 0x4E51001: ??? (cmd_zign.c:63)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EBF2: ??? (cmd.c:1319)
==551==    by 0x4E6D3AB: ??? (cmd.c:879)
==551==    by 0x4E6F5F3: r_core_cmd (cmd.c:1502)
==551==    by 0x4E6FB71: r_core_cmd0 (cmd.c:1622)
==551==    by 0x4E6BF36: ??? (cmd.c:426)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EB59: ??? (cmd.c:1306)
==551==  Address 0x11d8887a is 2 bytes after a block of size 40 alloc'd
==551==    at 0x4C28730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==551==    by 0x5E326EA: r_sign_add (sign.c:60)
==551==    by 0x4E51001: ??? (cmd_zign.c:63)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EBF2: ??? (cmd.c:1319)
==551==    by 0x4E6D3AB: ??? (cmd.c:879)
==551==    by 0x4E6F5F3: r_core_cmd (cmd.c:1502)
==551==    by 0x4E6FB71: r_core_cmd0 (cmd.c:1622)
==551==    by 0x4E6BF36: ??? (cmd.c:426)
==551==    by 0x696EF18: r_cmd_call (cmd.c:172)
==551==    by 0x4E6EB59: ??? (cmd.c:1306)
==551==    by 0x4E6D3AB: ??? (cmd.c:879)
==551== 
==551== 
==551== HEAP SUMMARY:
==551==     in use at exit: 666,345 bytes in 2,951 blocks
==551==   total heap usage: 12,594 allocs, 9,643 frees, 17,742,279 bytes allocated
==551== 
==551== LEAK SUMMARY:
==551==    definitely lost: 402,535 bytes in 1,212 blocks
==551==    indirectly lost: 100,116 bytes in 1,267 blocks
==551==      possibly lost: 1,041 bytes in 1 blocks
==551==    still reachable: 162,653 bytes in 471 blocks
==551==         suppressed: 0 bytes in 0 blocks
==551== Rerun with --leak-check=full to see details of leaked memory
==551== 
==551== For counts of detected and suppressed errors, rerun with: -v
==551== ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 2 from 2)

@radare radare closed this as completed in 119f9c7 Feb 27, 2014
@zonkzonk
Copy link
Contributor Author

hm, now I get new error:

[0x00403609]> q
*** Error in `r2': corrupted double-linked list: 0x0000000000e71b40 ***
Segmentation fault
,r2 -v
radare2 0.9.7.rc3 @ linux-little-x86-64 git.0.9.7-4-g081e0b7
commit: 081e0b7b0db214adb407dae1e1eafed29b43d3bf build: 2014-02-27

@zonkzonk
Copy link
Contributor Author

#0  0x00007fa3570b88b2 in strcmp () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0  0x00007fa3570b88b2 in strcmp () from /lib64/ld-linux-x86-64.so.2
#1  0x00007fa3570b0a05 in _dl_name_match_p () from /lib64/ld-linux-x86-64.so.2
#2  0x00007fa3570a8f6a in _dl_map_object () from /lib64/ld-linux-x86-64.so.2
#3  0x00007fa3570b39e5 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#4  0x00007fa3570af884 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5  0x00007fa3570b33fb in _dl_open () from /lib64/ld-linux-x86-64.so.2
#6  0x00007fa3532cdc92 in do_dlopen () from /usr/lib/libc.so.6
#7  0x00007fa3570af884 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#8  0x00007fa3532cdd2f in dlerror_run () from /usr/lib/libc.so.6
#9  0x00007fa3532cdda1 in __libc_dlopen_mode () from /usr/lib/libc.so.6
#10 0x00007fa3532a5b35 in init () from /usr/lib/libc.so.6
#11 0x00007fa352ca2410 in pthread_once () from /usr/lib/libpthread.so.0
#12 0x00007fa3532a5c4c in backtrace () from /usr/lib/libc.so.6
#13 0x00007fa3531d2d52 in backtrace_and_maps () from /usr/lib/libc.so.6
#14 0x00007fa3532261ff in __libc_message () from /usr/lib/libc.so.6
#15 0x00007fa35322b9ae in malloc_printerr () from /usr/lib/libc.so.6
#16 0x00007fa35322c943 in _int_free () from /usr/lib/libc.so.6
#17 0x00007fa353b8beb3 in r_list_delete (list=0x18eee40, iter=0x18f00f0) at list.c:117
#18 0x00007fa353b8bfd1 in r_list_destroy (list=0x18eee40) at list.c:158
#19 0x00007fa353b8c01c in r_list_free (list=0x18eee40) at list.c:169
#20 0x00007fa356357389 in r_bin_file_free (a=0x18dd2b0) at bin.c:358
#21 0x00007fa353b8beb3 in r_list_delete (list=0x1894990, iter=0x197ac50) at list.c:117
#22 0x00007fa353b8bfd1 in r_list_destroy (list=0x1894990) at list.c:158
#23 0x00007fa353b8c01c in r_list_free (list=0x1894990) at list.c:169
#24 0x00007fa356357c70 in r_bin_free (bin=0x1894800) at bin.c:495
#25 0x00007fa356e329b1 in r_core_fini (c=0x6068e0 <r>) at core.c:615
#26 0x0000000000404885 in main (argc=4, argv=0x7fff19f364d8, envp=0x7fff19f36500) at radare2.c:628

@radare
Copy link
Collaborator

radare commented Feb 27, 2014

Valgrind plz

On 27 Feb 2014, at 13:36, zonkzonk [email protected] wrote:

#0 0x00007fa3570b88b2 in strcmp () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0 0x00007fa3570b88b2 in strcmp () from /lib64/ld-linux-x86-64.so.2
#1 0x00007fa3570b0a05 in _dl_name_match_p () from /lib64/ld-linux-x86-64.so.2
#2 0x00007fa3570a8f6a in _dl_map_object () from /lib64/ld-linux-x86-64.so.2
#3 0x00007fa3570b39e5 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#4 0x00007fa3570af884 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5 0x00007fa3570b33fb in _dl_open () from /lib64/ld-linux-x86-64.so.2
#6 0x00007fa3532cdc92 in do_dlopen () from /usr/lib/libc.so.6
#7 0x00007fa3570af884 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#8 0x00007fa3532cdd2f in dlerror_run () from /usr/lib/libc.so.6
#9 0x00007fa3532cdda1 in __libc_dlopen_mode () from /usr/lib/libc.so.6
#10 0x00007fa3532a5b35 in init () from /usr/lib/libc.so.6
#11 0x00007fa352ca2410 in pthread_once () from /usr/lib/libpthread.so.0
#12 0x00007fa3532a5c4c in backtrace () from /usr/lib/libc.so.6
#13 0x00007fa3531d2d52 in backtrace_and_maps () from /usr/lib/libc.so.6
#14 0x00007fa3532261ff in __libc_message () from /usr/lib/libc.so.6
#15 0x00007fa35322b9ae in malloc_printerr () from /usr/lib/libc.so.6
#16 0x00007fa35322c943 in _int_free () from /usr/lib/libc.so.6
#17 0x00007fa353b8beb3 in r_list_delete (list=0x18eee40, iter=0x18f00f0) at list.c:117
#18 0x00007fa353b8bfd1 in r_list_destroy (list=0x18eee40) at list.c:158
#19 0x00007fa353b8c01c in r_list_free (list=0x18eee40) at list.c:169
#20 0x00007fa356357389 in r_bin_file_free (a=0x18dd2b0) at bin.c:358
#21 0x00007fa353b8beb3 in r_list_delete (list=0x1894990, iter=0x197ac50) at list.c:117
#22 0x00007fa353b8bfd1 in r_list_destroy (list=0x1894990) at list.c:158
#23 0x00007fa353b8c01c in r_list_free (list=0x1894990) at list.c:169
#24 0x00007fa356357c70 in r_bin_free (bin=0x1894800) at bin.c:495
#25 0x00007fa356e329b1 in r_core_fini (c=0x6068e0 ) at core.c:615
#26 0x0000000000404885 in main (argc=4, argv=0x7fff19f364d8, envp=0x7fff19f36500) at radare2.c:628

Reply to this email directly or view it on GitHub.

@zonkzonk
Copy link
Contributor Author

==10425== Memcheck, a memory error detector
==10425== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==10425== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==10425== Command: r2 -c eק<9F>^Wsau<D2>^P<DF>^_s3~<91>Y2@<FA>妶<88>4r<F8><86><BF>^N<EC>Q<D4>96d<FD><84><C7>LR<DD>j<F2>A<DE>l<C6>&<9D>^_^TnNӹ<E9><CC><E2><EC>5<AB>K<DC><C3><C6><E2><E1>^G^*jO<ED><BD>^O<9F><D5>zu<B5>hM'q<8E><B0><B3>]e<86><95><CE><FE>ݭ<DA>[^]<E8><A7>^E^K^SY<E5>K<88>^E-^^<A3>^Rť憷<82><82><91>^BǨujB<F1><B4>M^FD<9D><CD><F1><BC><C2>&\\<9A>^X,J<80><AC>^Qfp<F0>u<CC>-<U+009E>*-Ƚ^R<AB><B1><FD>Up<90><EB><81>^E<DF><FC>=<B9>ٺT<F5><CE>;:2<EB><E5>͛<E3>Y<C5><F2>3<F8>s<9D><DD><E8><80><FE><99><BC><FF><9F>K<BA><D6>Mڝ^Fc?zX<E6><DC>7<D6><CB>0:<95><DF><C1><FE><A8>}<80>d<A2><BD><D9><E1><EA>u(o<FB><81>M*<A8>$<A8><9F>i\\^EN{]<E3><B9>5<E6>(;<B9><CC>CB<88><9A>9}c<E5>l<94><B9><BA><8E>\><A1>^C<CC>^?<E3>Ȣ<DD><DA>w<A1><C6><FC><DB>ESC<C7>"<F3><DC>fv8(<DD><C8><D6>;<B9><DE><FB><87>!I<80><A2><F7><FD><E4><F3>p<CE>'<F0><96><AA>^N<92><B4><CF><D1>F
<F4>"<C1><D4>^L^K<8F><D1>i<A5><CD><C1>}0<AD><FA><C9>^_^X5<E7><F9><EB>1<AF>^Rj-<94>^E^P^YgՖ]^XPWS<8A><E2>y<F3>i=<FB><93>Q{1^G<B1>^_<E1>Z<A2><F9><AD><E9>[ڦO<E8><F7><B7>^O<CC>w^R<AA><9D>P^Dy<98><FE><E5><A3>jܛ,<8C><99><E4>*<99>^\<B3>/^DG<E1>Nռ<D2><F3><A2>k<F5>X<D7>ZL<D4>&<FF>5<FC>^G<95><90>Mq^U0ͮ<8C>⪑v<AE>M<9D>]<F4>k^ER<BC>F\ FI^T7<B8><F4>t<D3><FF><B0>5^O<8D>^_k<C7>s<EF><B0>P<90><F4>*3<87><B0>^Q^N`<B3>y<FF>
==10425== /_<F3>i<AE><8B>R<E3>s<F9>y<EE><C3>^PO<BB><BE>h<8D>u<ED><F2><90>Z}<FA>^U<9B>/<F0><DD>^Z<E1>Ct<F7>^Z<89><AA>^T#u^R^LD^V<D1>^C#c4q<C1>~E6<EF>^?T~P{B|&$^]mW^A<U+2E9388C><B6>\\|<89><DE><D5><FE><F8>F^Q<C0><E5><8C>I<C9><F9>^Y^_<89>6^M<BB><B2>W^W<FA>\>N<F4>^Wi'<E4>Af<AF>^F<F7><E6>^X^W<F3><EB><E5>,<B9><CB><FA><F7>^SZESCA<89>1<9E><CD>'<91>%<E4><90>g:<8A><CA>6D\\<FC><BC>c<E6>LeV<9D>V<A2><87>A!^Q<D3><E4>e^C^E<F1><CE>^C<91><A0><F4>^_<D4><DE>.xr;9A<93>+<FE>Ƙ<EB>U<C3><FB><AD><DB>^To<A8>aG<F9>ǔ<80>Ü<U+D879><F3>ESC<EC><C8>kL<A1><C4>P<9C><A0>9%<DF>
==10425== <85>A<A4>^F<FF>i<9F><DD><E2>@P1MU~<8E>^HWv|<94>n^?^H<85><8C>^T<A8>L쪢<8F><B3>g<A4><E5><DB><C1>^<AB>a<AE><97>k<96><D0><FF><D3>l`f<A8><CD>\><E8>UJF<EB><90><E9>m^N\><AE>7~9<96>\ <DC>^V^L<A3>G^G<F9>3N<F5><C2>F<C5>     \>f^V<96><D5>E<82><F1><B8>j<BF><A0><E7><F1>ESC<C8>h'I
<B9><A1>ׅf<F4>HU<AE><BA>Uc~<94>|<F7><AD>MV4^F\\<EC><B6>yŷ@<FB><9C><B6>mS<CE>-<C8>^^m
==10425== .z9<9D><C9>^F@<85><F1>ڶ^S<A7>+<DE>B<BE>^M<AB>5<81>^L^N<B9>Q<9A><AD>I@<D7>l\<<AD><B2>^Hဗ<DE>7!<89>\\<FB><A8><CF>\\<98><CF>D<C7>,ǜ2<B2><E0><U+051A>/<9E><CE>^N<81>u<E8>^L<C5>}`<C5>#^V^S<B6><E0>Eu-jI9<F5>F<F8>/.<AF>2ESC<A7><B8>^V<99><BD>6b<F3>Ǎ<FA><87>9<9A>L^D<80>Q<AF>^E#
<AE><F0>^_<93><E2><F6>we<C1><FC>[<9C><E0>Jh&X^Y+FC<U+0522>_@<E0>4<E8><B3>"<8D><ED>^]2\\!^XޕՉ@<F8><E9><C6>"<93><EA>^S&<A4>^K<F9>^B/<A2><9A><U+077A><C1>$<DA>l<B1><B2><BE><88>Bv<BD><A1>C^]M2<D3>^?<F1><E8>ꐜ)<9E><F1><EB>}<D4><EF><EB>n36.<E4>E<A0>9^U(+^Y<A2><FF><BF>Nc<DF>`<81><B9>]
<8E>^O<89>qS|<D2>1<F0>^^<E8><94>^E
==10425== <C0>z_<AA><DC>\\~\V<CD>GSʌ^M<CB>-<FC><E0><FA>r[<E8>/[<B2><8F>=<94><9F><BC>B<88><BD><89>H<ED>\>H?NPy<8D><AD>)<EE><D2>T^R!k<83><EB><D6>P\ 1<A0>[4c<D9><EE>\<<E0>'}aۂ<D6>F36c<93><BF><9D>
==10425== <AD><A3><F5>z5<E4><A3><C8>خ<C3><C0><D9>)<9F>^L^?<F2>XQY<B1>^G<F7>^U^AH<BE>v<D9>S5<D4><CB>W<FE>\\'<E9><9E>yꆟW<AA><EC>^_q^D^W^\<CB><F9><CF>T<80>-l<8C><AD>Ϧ(<EE>*^Bot6H[)}/G<AA>~<95>[<9F>ڤ@U<A5><C2><C7>U<F9>R*^B<A6>^H<A7>^K<CB>t^N<81>^]<F1><CE>6<BC>_2q<A0><D4>g<D7><F5>D
<FE><82>q<CB>#^E^U^Q^H^O8^_f;D<9A><8C>^]^?O<E7><B2><ED><C1>2<E9>^F<BE>ك<BA><F6>U<B2>m^]^R<D9>Z٤^G<D6><D1><C3>
==10425== ]^Xrd`<D4>`r<CF>^A5VsE<AC>a<DF>-;<F7>\<G<E3>?<F9>^Wt$<EA>^Z&<BA><A1><E2>v<E3><DD><D5>X^^<82>\<ē<B8><B6><A3>^8U<99><BB><FE><B1><F2>&^N<B0>5<AE>^]DQ^M<A1>jJ^W<B0><EB><A4>KQ<98>R`<F8>=^P&<B9><A0><80>:^E:T@`J  J<CA><FE>^V<B7><B2><E4>^GC<C6><FE>Rq^F־<9D>,ɚ^R
==10425== <B7><FD>q#<D9>B<F4>^Yxx7C<D6>
==10425== <B2>n,`
==10425== ESC<8A><A3><BC>V<8F>GB.m<E7><D0><EF>*n`<9B><C7>^R^]<EF>\\ӡ*<A1>YKn<A7>%<BF>Or^KV.<CB>^?#      <EE><D7><F6><D7>_<AD><ED><D5>X<D2><F9>ċ<D1>0eÆ<A9><D6><EC>T<8D><E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B9>u!<9B>S<A0><84><B8>U<CA>ȉ<C0>b<99><AC><87><91>LrV<CF><F0>2<AD><DC>B^Q<96>X     Q<D0><C5>^]<94>^Z<9A>^^U<92>^D;<C6>G<EA>+<9E><96>6<85><CB>^C:^B<85><91>^W=<BF>3<90>T}<AE>~E|<D3><DF><F3>*<92><95>Tf}UL<F6>^^LK<A0>(<E4><9D>_<8D>^^R<E3>_ٍW6<D0><C0>|<B6>
==10425== }K<D2>^V<8B>"<C2>TK<A2>       r<92>:<D5>E<91><AC><CF>=<B0>\<<E9><8F>0<C7>؂<U+05FD>7<BB>A<AD>6<A6>uP<D2>"^]
==10425== Y<FD><EA>K<9A><E5>Z,<A0>^Q<BD>h^Y<B7>UE<D0><C6>l<E1>^O߉sC<A8><C4>p_<92><8D><BC><E9><E5>y\ <93>˚<B8>ݤ4CIf<9B><D7><F5><E9>6rq<A9>D^_^B<DB>T<FC>0%^G^Qh<E7>^F<C6>T<C7><FF><DD>.<E0><BA>Xo<97>x<9C>^A<80>p^B$3^F<A4><8F><C0><86><DA>~3<F4>DM<A2>^W<86><C6><E8><DA><D5>/^G^K<BD>
<81>
==10425== 15<CC>1D<F1><ED><E9><88>4Z<84><B9><DA><E0><80>^L^U1F8J<9B><AB>1d<AA><B9><C0>^_s<E2><CC>4<D3>^F<BB><CD><U+0777><A6><F6><U+EFB0>Ha<B9>  ^W<AC><A4>^Z<FD><CA>A<89><AE>^WP8bP
==10425== p!<EB>V^N<E1><AC><E5>g<B4>^_^F<BA><F9><92><8B>ٚ<BE><B2>8^V<B2>fl<U+DA19><E1>^^6<90>0_^<DA>)<A9>1<8B>^T<BA>s$q_<8A><B0>z<99><D2>+7<B6>#^C<99><CC>܊<CC>Y<87>.^M<BE><C2>^O^Y<80>u<86>)<AC><8E><ED><FB><97>^],<84><D9>)<C3><F6>_<B7>繹<E2>$<B6>^?ȸ-<EA><CE><E9>]\\y,g^Q^^*<89><ED>i<8D><E7>إX~ESCV_~9%^?<D8>@^CJ<F9>iZ<B1>9<FB><A1><B0>H<A1>^^<99><84>#!Q<D4>t}-m<97><8C>H^MK^C<B0>D<8D>`<DB>,     i:E<F9><93>1[<85><ED>A<C5><F6><9F>V<9F><AB>KY*^T<95><C2>^YӸ<FD>#<A0><97><A5>RLS`ێ<F2>YL<A6><9D><B9><C3>c<B8>j<B6><AA>g<E9>^\^D<E5>!<B2>]Lެ<FA>   ^K<E8>e^T<D1>^S^K7<92><EF><9C><D2>͑;<9B><A5>^],T<E5><F3><F4>     <9F>햏ESC<A9>]<D6>O<93>^U<E4>E<F8><C4>b<A5>s\<<FB>^O<D5>^MZ.^Z<U+0776>^Zf<A1><98>\ <DE><EF><E1>ԽF%<CA>m<U+0BDB>\\<BB><B3>^E;<C5>\<Q<8C><FF><F9>h.N<91>՚hIf,<A8>7{<84>2<94><85>&6N<AF>p<F7>gP<D1>^K<86>f<A6>6"<8E><D3>^E٫P<AD>͟<F5>ɂ<BC>o<88>$Q^QB<95>^V<80><86><F1>ڛ<BA><E5><8C>g<F3><D3>tɾ<B0>^C^QE^T<8A><FC>^X<EC>g<9F>F^F<F0><A1>w<DC>S<85><B3>^_^\H9<A7>^Y<92><A8>=<98><U+147082>^C<98>\<<DD>.^C<8C>X(<81><97><80>e<A9><D3><D9>z<AB><F7><B8>!<BB>|M<C1>^?ٍ^X<E4>DA0*<DE>^?<E8>5<8E>!ӣ<87>i<BE>6v<93><ED>eȺ^SX<C9>Wc<95>/9H<C5><F2>p<BA><D4>@1|<A5>g^T^^,T3^Gp\ <FC><C0>б<E2>#<AB><D2>^X<C8>a<A9><82><E2><EC><FC>/Z4^^^Z!^Slμ2<B8><B7><EB><F4><C8>!<BA><C8>s<F4>fL׆%<B7><BA><C8>       OZ<DF>y<FE>"<DB>[l+<89><AB><8B>-<96><8B><E6>l<F3>^G<B1>^L<E9><F1><86>ESC<F4><B8>Z^C<91>^^<A9><CD>JI^?A<EF><D7>l<AB>4<E2><F0>6ɽ<B9>
<C2>]<AE><83>W<82>=VCѐ<94><CF>d<B1>9k^A^C!<9F>^K<F8>`YS<A0><8D><ED>x<D7>LG(<8A>^_<D8><FD>E<U+0605><A2>^Q<C1>^Ro<F0><F3>Ql]<FA>V^\<92>v<EC>kX<CB>^R\ =Q́'q<E2><C9><ED><A6>8"^Dmή'<C1>i<BF>^MtwIXT$\>0<CD>o^VE\><B1><C9><F5>9<C5>몜u;^U<BB><E2><8B>^R<E8>cG<E8><BD><DC>4<9E><EE><84>^Ve
<81>LL(<A3>ESC<B0>4<DF>^OU<B5><A7>
==10425== 6<EF>8<D1>^D<98><E7><F6>\><E0><89>(<F9><B1>^Y<F3><D7>1ESC<E3><F1><FA>ٞ<E0><A4>^F\ <C0>\ <D0><EE><8A><CC>^B)1^]<E0><C5><D4>+U*<B8><98><F2>m<A9>X^?w?ַ^F^G^P      U-^DV<BE><AF><D4><E8>l<85>D<DE><F0><B6>y^]<B0><DF>c͉<A5><U+0382><88><B9>ѧ<A2><E8><A0>BԴV!<B8>I㭸<E3>^Kj<EF>^S
<88><B4>^EFT6<ED><90><E8>y<DF><C5><F8>c<B3>L<8D>xk  <9F><9E>^X<B4><B3>!^Y<BD><E3>%<F0>^D4e$<E9>3&<A8><AD><F3><E2>"<C0><F3><B0><80>Ŧ<E2><87>R<A4>Z<B9>}^Bl<C4>\><BB>I)<B8>^Q^?<BB><CE><F5><DE><E9>]<E4>^?<A1><E3><D2>To<B7><CE>^Dv7^N^QW^]<DB><EC>k~<E2>p<BA>5y<C1><FC>W<81>^UH<F1>k-^^
<84><FA>W<A4>^D<A7><AE><A3><89><F9>IaVS<E9>*<F9>'Tz<99>1<F3><C7>m^X#<82><A6>'C^B켼<8B><A4><D6>ލȑ<9A>d<B7>g<F9>^Sf"<B6>^S<F3><A7><D0>P<A6>^V<F5><EA>^Z<C5>.^Xk<A8>^S<BC><94><94><84>9j<FE>6̷C<8B><CC>^Os<C0>|<EF><A1>^Pa<CF>^]z<D2>U}/ncRT<AF>Rg<90><FD>#<BE>^PU|!<84>b`(<AB>_^_
==10425== <9D>GBI<E1>^X..^Wڐ<B7><AE><AC>a^E_<D1><EB>B^^u<D4>'2<AD><FC><B8><80><AA><CC>^A<80><FB><A9>P<F6>j<DC><DE>*<D2>{<B2>B<9F>^_~<AB>u<97><AA><DF>s<E1>ESC^\s^N<89>^L<AF>f^KҡH<FA>x<B2><EC><DE>"ez<DA>^O<DC>^K,<F6>^Q<C1><F8>W^_<BE><DE>7<FA>#0w0<E0>-96<E4>7v<87>^H˥9k<94><B7><EC>m<8D><F0><AE>f`0<FC>7<CC>9j<C6>^?<9F>R]i<D0>Z<81><87>2<CA><E0>L^_^]ve<BF>^A5<80>^Gp<BB><C1>^D\\^Q<E0><8D>-<86><8F>:a<AA>lt̟r<EF><B3><F1><9C><88>^X^W<CE><C1><F7>   ^V<EB><B8>ESCc^A<B9><F7><ED><86><C6>9X7ø{L<F4>hW<A2>^N<A9><D9>%<BB>s<A9><85><F4><82>^D<BF>k^R<90>vSEe<CF>h9?;<9B>e^]
<AD><B2>^EӦN8<BF>^VT2<D6><C8>^M<A8>^_<D7>f<BD><F4>^N<C8>^MO/<9C>e^XpCD<9B>x<DA><FC><BA>p<C9>$<FF><8B><DF>3<B4><C3>!<CE><DB>̘uYI^U<F9><C0>βc<E0><CF><D8><D8>*<C4>?<DF>Rr<8B>a<81>Qx<94><C4>Ezkz<B8>;<D0>^^<B2><CE>r<84>d^Z/<A4>L^Wx]\<<BD><9E><D8>^X<F5><82>9<FB>PbE<96><A5><D1>F邶<99>Kc<E6><DD>C<FB><8D>mX<BD><9D>-<E7>^S<F3><E4>6<U+051A>[<99>^E<EA>휻^X<A9>ESC<D9><FB>^]=AD^T^ZJ<E0>^U̠+<D6>^N<B6><9D><9F><BA><D7>5^PN<94>:^WOCO[;<DA><EA>k<91>U:<D1>pܞ<BA><C6>^X<83><CC>C)<A3>[W<FC><89><94><A5>1<94><FD><B8><F1>^XV<86>M^M<B5><E2>9ŢR<EF><FE>^^<85>^BD<DA>^C<BC><A3>N<F4>q
<AE><EE>b<F7><9E><C4>ͺ^\:^?^^η/<94>]<D6><E7><90><EF><8F>*<D9>^N<8A><95>^]<80>c<A7><A7>v<B4><DF>=n<9E><AC><AF>^WL<C6><E2>+Q^F   <89><D6>@P^_<D4>(^PC<DB>}<AD>u+i<A4><D8><FB>`<A6>?<FE>\><80>$<ED><89>^M˂<B4>PA<E6>^U<E1><D0>
==10425== fa<E5>U!<94>M<B5><E1><94>^S<C4>L<B4><9B><ED>@#1
==10425== RHVn6<CE><FC>Pd<8A>T<8A>{<86><9D><9C><C3>M<AC>e<8B><F4>A<E3><AB>(<D8>#^]i|<ED><D2>j^S<EE>~^P<F6>ESC7<A4>M<A0>!<9D><8E><FF><85><F1>)h<87><84><F6><AA><E0><CD>:2<E1><84>s<A4>WW?\ d<94>y+L<C9>S+<D7>^W;<9C>L<F6>Ϯ<DE>i<AC><CF>+<BD>#<A0>%c<83>&^E<AB>F<CD>Z<89><F7>^K<A5><F4>C@tI1Q<BE><C0><B7>ESC.H4`t<E4>k<F4>^B4F^K4d<DF>^W^K<A7>Rv<B3>^F^D<8B><F0>c2^_J<DD><EA>]<A8><9F><AB><A7>"<DE><EE><A4>S$<86>\>^Z<8A><86>@q<C4>^X[X<82><B6><E7>^Ky<B9>R<E8>B<B6><9B><A8>&<C5><U+03CF><DC><FD>=\<<BC>yk<8F>sxdhP<AA>g<E2><B0><D7>^C<CC>^Vh5^D<F9>^EyR{{^B"K\ <EC>      <94>
<BA><8A>W}<E1><EE>T^A<DC>T<A0>*#<EA><9F>^\<84><DB><CD><CD>Ų<9D>.^D<DF>Ph<BD>"<E8><CF><EC>{^V<D2>^\<92><D9><F1>װd^\<E5>rz$]<CB>;<E8>'H^E<83>^E<A3>o<D2><DD>ߟxp<99>^]<D3><E6>a^M<AC>ESC/<FF><EE><C1>J<AC>^Y^Z\\F<C2><CE>8<F8><B2>WK<8C><8B>^B<D3>9\ Oz<C7><E7><AA>D<B2><FB>GN<B2><F7>^A
<F5><A2>^K<B4><90><90><CA>L2<A1>Op<D8>j<A3>!^X<9E><D4>m<9F>ę<D8><FD>^M<AF>ESC-^?}<FB>`"<B6><D4>^V<E3><F7>^M_^VESC)ɪ    <B0>/<U+077C><C1>^G^D^D<F7><DF>j^Z /tmp/cp
==10425== Parent PID: 10407
==10425== 
==10425== Invalid write of size 1
==10425==    at 0x4C2CE8A: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10425==    by 0x813743D: r_hex_str2binmask (hex.c:149)
==10425==    by 0x5E377E5: r_sign_add (sign.c:68)
==10425==    by 0x4E51001: ??? (cmd_zign.c:63)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EC2E: ??? (cmd.c:1319)
==10425==    by 0x4E6D3E7: ??? (cmd.c:879)
==10425==    by 0x4E6F62F: r_core_cmd (cmd.c:1502)
==10425==    by 0x4E6FBAD: r_core_cmd0 (cmd.c:1622)
==10425==    by 0x4E6BF72: ??? (cmd.c:426)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EB95: ??? (cmd.c:1306)
==10425==  Address 0x11f94684 is 2 bytes after a block of size 34 alloc'd
==10425==    at 0x4C28730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10425==    by 0x5E3774D: r_sign_add (sign.c:60)
==10425==    by 0x4E51001: ??? (cmd_zign.c:63)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EC2E: ??? (cmd.c:1319)
==10425==    by 0x4E6D3E7: ??? (cmd.c:879)
==10425==    by 0x4E6F62F: r_core_cmd (cmd.c:1502)
==10425==    by 0x4E6FBAD: r_core_cmd0 (cmd.c:1622)
==10425==    by 0x4E6BF72: ??? (cmd.c:426)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EB95: ??? (cmd.c:1306)
==10425==    by 0x4E6D3E7: ??? (cmd.c:879)
==10425== 
==10425== Invalid write of size 1
==10425==    at 0x4C2CDC2: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10425==    by 0x813743D: r_hex_str2binmask (hex.c:149)
==10425==    by 0x5E377E5: r_sign_add (sign.c:68)
==10425==    by 0x4E51001: ??? (cmd_zign.c:63)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EC2E: ??? (cmd.c:1319)
==10425==    by 0x4E6D3E7: ??? (cmd.c:879)
==10425==    by 0x4E6F62F: r_core_cmd (cmd.c:1502)
==10425==    by 0x4E6FBAD: r_core_cmd0 (cmd.c:1622)
==10425==    by 0x4E6BF72: ??? (cmd.c:426)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EB95: ??? (cmd.c:1306)
==10425==  Address 0x11f95b7a is 2 bytes after a block of size 40 alloc'd
==10425==    at 0x4C28730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10425==    by 0x5E3774D: r_sign_add (sign.c:60)
==10425==    by 0x4E51001: ??? (cmd_zign.c:63)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EC2E: ??? (cmd.c:1319)
==10425==    by 0x4E6D3E7: ??? (cmd.c:879)
==10425==    by 0x4E6F62F: r_core_cmd (cmd.c:1502)
==10425==    by 0x4E6FBAD: r_core_cmd0 (cmd.c:1622)
==10425==    by 0x4E6BF72: ??? (cmd.c:426)
==10425==    by 0x6975F18: r_cmd_call (cmd.c:172)
==10425==    by 0x4E6EB95: ??? (cmd.c:1306)
==10425==    by 0x4E6D3E7: ??? (cmd.c:879)
==10425== 
==10425== 
==10425== HEAP SUMMARY:
==10425==     in use at exit: 668,152 bytes in 2,981 blocks
==10425==   total heap usage: 12,630 allocs, 9,649 frees, 17,744,511 bytes allocated
==10425== 
==10425== LEAK SUMMARY:
==10425==    definitely lost: 377,990 bytes in 1,211 blocks
==10425==    indirectly lost: 99,824 bytes in 1,258 blocks
==10425==      possibly lost: 26,148 bytes in 12 blocks
==10425==    still reachable: 164,190 bytes in 500 blocks
==10425==         suppressed: 0 bytes in 0 blocks
==10425== Rerun with --leak-check=full to see details of leaked memory
==10425== 
==10425== For counts of detected and suppressed errors, rerun with: -v
==10425== ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 2 from 2)

radare added a commit that referenced this issue Feb 28, 2014
@zonkzonk
Copy link
Contributor Author

confirmed, Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants