commit-hurd
[Top][All Lists]
Advanced

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

[SCM] MIG branch, master, updated. v1.4-7-gbb06f65


From: Justus Winter
Subject: [SCM] MIG branch, master, updated. v1.4-7-gbb06f65
Date: Wed, 26 Feb 2014 13:10:25 +0000

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 <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]