This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".

The branch, master has been updated
       via  bb06f65290c2526d214302ba43bb6bc363cd4868 (commit)
      from  5e3ef5153fe6aa2190ffa185009fa45e3549469d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bb06f65290c2526d214302ba43bb6bc363cd4868
Author: Justus Winter <[email protected]>
Date:   Fri Feb 21 21:44:15 2014 +0100

    Fix variable-sized c strings
    
    Previously, the terminating zero of variable-sized c strings was only
    included when copying the message if the length of the string was not
    a multiple of four.  mig_strncpy returns the length of the string
    excluding the terminating zero.  Fix this by properly accounting for
    the byte for the terminating zero in the array length.
    
    * server.c (WritePackArgValue): Account for the terminating zero in
    the array length.
    * user.c (WritePackArgValue): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 server.c |    5 +++++
 user.c   |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
MIG

Reply via email to