radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.64k stars 3k forks source link

segfault problem with zignature #659

Closed zonkzonk closed 10 years ago

zonkzonk commented 10 years ago

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&%!74XKB>?-I/?N347LQ![$?X5JB^:WI6]JF3^CWMP_,=Q*JG5`$>9C^Y:-J
MW)LLC)GD*ID<LR\$1^%.U;S2\Z)K]5C76DS4)O\U_`>5D$UQ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(^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 commented 10 years ago

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 notifications@github.com 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_configget: 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 byr2 -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?&\ MPB9FA@L2H"L$69P\'7,+<*_BW(O1KL?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]P9G8X*-W(UCNYWON'(4FHO?]Y/-PSB?P MEJH.DK3/T4;T(L'4#N/T6FES<%],*WZR1\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LE=+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.

— Reply to this email directly or view it on GitHub.

zonkzonk commented 10 years ago
==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ñ´MDÍñ¼Â&\\š,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ªPy˜þå£jÜ›,Œ™ä*™³/GáNÕ¼Òó¢kõX×ZLÔ&ÿ5ü•Mq0Í®Œâª‘v®M]ôkR¼F\ FI7¸ôtÓÿ°5kÇsï°Pô*3‡°`³yÿ
==551== /_ói®‹RãsùyîÃO»¾huíòZ}ú›/ðÝáCt÷‰ª#uDÑ#c4qÁ~E6ïT~P{B|&$mWúº“¢Œ¶\\|‰ÞÕþøFÀåŒIÉù‰6
»²Wú\>Nôi'äAf¯÷æóëå,¹Ëú÷ZA‰1žÍ'‘%äg:ŠÊ6D\\ü¼cæLeVV¢‡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½¡CM2Óñèꐜ)žñë}Ôïë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Ë#8f;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== Š£¼VGB.mçÐhï*n`›Çï\\Ó¡*¡YKn§%¿OrV.Ë#    î×ö×_­íÕ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Ðûß0yˆL˪³†o‰Ï
5M7ö”    ¡Ú{z—@®]›ã±Œk-Zf~yqÉòä¹f4¡\ ÌèõíJ
èQ£ÚÌÚ\>YÊŒK
¨-#©¿}êŸO“Àf8–@a2,
šoÐä
==551== OÊêÕ¸¼²¤^Z$ÆzÇiC»#MÓ(¸Ù»6ñ€T+ˆ3htTÅ`}å=ÿðr…ÙÁ+h1\>ƒ:œM?´üÁ[Š«ßea¹$Œš~^üÚ–´OIW9…ÆÙ9æ;b'tC¾RzñH\ ¤Š«—ß
==551== Þ_ÄÐ_Šã€vµ'\\pêË`‚ýPÈmI¼;"¥îìöÚ–ïæΉ7ÌYu-¹u!›S „¸UÊȉÀb™¬‡‘LrVÏð2­ÜB–X QÐÅ”š^’;ÆGê+ž–6…Ë:…‘=¿3T}®~E|Óßó*’•Tf}ULö^K (ä_mRã_ٍ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í¨™á60_^Ú)©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ˆ$QB•€†ñÚ›ºåŒgóÓtɾ°E^TŠüìgŸFð¡wÜS…³H9§’¨=˜õ‡‚‚˜\<Ý.ŒX(—€e©ÓÙz«÷¸!»|MÁٍäDA0*Þè5Ž!Ó£‡i¾6v“íeȺXÉWc•/9HÅòpºÔ@1|¥g,T3p\ üÀбâ#«ÒÈa©‚âìü/Z4!lμ2¸·ëôÈ!ºÈsôfL׆%·ºÈ    OZßyþ"Û[l+‰«‹-–‹æló±éñ†ô¸Z‘©ÍJIAï×l«4âð6ɽ¹Â]®ƒW‚=VCѐ”Ïd±9k!Ÿø`YS íx×LG(ŠØýEØ…¢ÁoðóQl]úV’vìkXË\ =Q́'qâÉí¦8"mή'Ái¿
twIXT$\>0ÍoE\>±Éõ9Å몜u;»â‹ècGè½Ü4žî„eLL(£°4ßUµ§
==551== 6ï8јçö\>à‰(ù±ó×1ãñúÙžà¤\ À\ ÐîŠÌ)1àÅÔ+U*¸˜òm©Xw?Ö·  U-V¾¯Ôèl…DÞð¶y°ßc͉¥Î‚ˆ¹Ñ§¢è BÔ´V!¸Iã­¸ãjFT6íèyßÅøc³Lxk Ÿž´³!½ã%ð4e$é3&¨­óâ"Àó°€Å¦â‡R¤Z¹}lÄ\>»I)¸»ÎõÞé]ä¡ãÒTo·Îv7WÛìk~âpº5yÁüWHñ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_ÑëBuÔ'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ÊàLve¿5€p»Á\\à-†:aªltÌŸrï³ñœˆÎÁ÷   ë¸c¹÷í†Æ9X7ø{LôhW¢©Ù%»s©…ô‚¿kvSEeÏh9?;›e­²Ó¦N8¿T2ÖÈ
¨×f½ôÈ
O/œepCD›xÚüºpÉ$ÿ‹ß3´Ã!ÎÛ̘uYIùÀβcàÏØØ*Ä?ßRr‹aQx”ÄEzkz¸;вÎr„d/¤Lx]\<½žØõ‚9ûPbE–¥ÑF邶™KcæÝCûmX½-çóä6Ôš[™ê휻©Ùû=ADJàÌ +Ö¶Ÿº×5N”: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ô4F4dߧRv³‹ðc2JÝê]¨Ÿ«§"Þî¤S$†\>Š†@qÄ[X‚¶çy¹RèB¶›¨&ÅϏÜý=\<¼yksxdhPª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)
zonkzonk commented 10 years ago

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 commented 10 years ago
#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 commented 10 years ago

Valgrind plz

On 27 Feb 2014, at 13:36, zonkzonk notifications@github.com 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 commented 10 years ago
==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ဗ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<93><C0>^Nf8<96>@a2^X,^_^M<9A>^Go<D0><E4>
==10425== ^TO^\<CA><EA>^F^Q<D5>^X<B8><BC><B2><A4>^Z$<C6>z^A<C7>i^DC<BB><8F>#M<D3>(<B8>ٻ6<F1><80>^RT+<88>ESC3ht^PT<8F><C5>`}<E5>=<FF><F0>^Xr<85>^F<D9><C1>+h1\><83>:<9C>M?<B4>^A<FC><C1>[<8A><AB><DF>ea^?<B9>$<8C><9A>~^<FC><DA>^Y<96><B4>OIW9<85><C6><D9>9<E6>;b'<81>tC<BE>Rz<F1>H\ 
<A4><8A><AB><97><DF>
==10425== <DE>_<C4><D0>_<8A><E3><80>v<B5>'\\p<EA><CB>`<82>^P<FD>P<C8>mI<BC>;"<8D><A5><EE><EC><F6>ږ<EF><E6>Ή7<CC>Y^Wu-<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>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B><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)
zonkzonk commented 10 years ago

confirmed, Thanks! :)