The branch, master has been updated
       via  89e049a Another asprintf() return-value-check tweak.
      from  036094d Committing missed manpage tweak.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 89e049ad7f710bdf7fb884e396e3331d0c8afe0d
Author: Wayne Davison <way...@samba.org>
Date:   Wed Nov 23 13:14:35 2011 -0800

    Another asprintf() return-value-check tweak.

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

Summary of changes:
 clientserver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/clientserver.c b/clientserver.c
index d63aa96..2294bb0 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -759,7 +759,7 @@ static int rsync_module(int f_in, int f_out, int i, const 
char *addr, const char
                                                        break;
                                                _exit(1);
                                        }
-                                       if (asprintf(&p, "RSYNC_ARG%d=%s", j, 
buf) > 0)
+                                       if (asprintf(&p, "RSYNC_ARG%d=%s", j, 
buf) >= 0)
                                                putenv(p);
                                }
                                close(pre_exec_arg_fd);


-- 
The rsync repository.
_______________________________________________
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs

Reply via email to