[Verse-dev] Verse R4pre
Eskil Steenberg
eskil at obsession.se
Thu Sep 16 17:46:06 CEST 2004
Hi
>I found out why it's crashing, and the little app I sent now works ok.
>But larger apps still don't work (but don't crash either). I'll
>investigate further.
>
>
Great !
>The problem is in two lines of code added to v_cmd_gen.c, line 365.
>These cause the buffer size to be calculated incorrectly. For example,
>in v_gen_pack_s_node.c, in verse_send_node_name_set, only 10 bytes are
>allocated (was 1500 in r3).
>
>
Ahh, I guessed it was a stack overflow problem... i will fix it.
>Another problem picked up by valgrind (debugging tool) is in
>v_connection.c. key_other_public is never initialized, but used in
>v_con_set_other_public_key.
>
>
Most of the Encryption buffers are just dummys for now because the
encryption code isnt working yet. So it shouldnt be a real problem.
E
More information about the Verse-dev
mailing list