[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending arbitrary messages between key exchange and user authentication


Dne 19.10.2011 13:38, Aris Adamantiadis napsal(a):
> Hi Martin,
> 
> Thanks for your patch ! Here is my feedback:
> libssh.h: We try to order functions in alphabetical order. Could you
> move your functions so they match it ?
> 
> session.c: You should not include ssh1.h for a ssh2-specific packet. I
> believe the problem is that you're sending SSH_MSG_IGNORE, when SSH2
> specific packet numbers have been renamed to SSH2_MSG_*.
> 
> comments: It is good that you provide doxygen doc. Please copy and paste
> the description of "session" parameters and return values from an other
> function, so it matches with other doc. We'll probably work one day to
> uniformize it.
> 
> /* Empty language tag */
> str = ...
> 
> this assignation overwrites a valid pointer and causes a memory leak.
> 
> Don't worry about the number of changes I request, it's normal for a
> first commit.
> 
> The best way to send us a patch is documented here :
> https://red.libssh.org/projects/libssh/wiki/Patches
> That way, you'll get credit for your commit inside our git tree.
> 
> Thanks a lot for your efforts.
> Kr,
> 
> Aris

Hi Aris,

thanks for the feedback. I will fix these issues. And I am not worried,
I know that it is always like that when jumping into new project ;-)

Martin

Archive administrator: postmaster@lists.cynapses.org