[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-335-g235c3f2

mysql vizuser noreply at mpich.org
Mon Jul 15 12:57:17 CDT 2013


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 "MPICH primary repository".

The branch, master has been updated
       via  235c3f27724df2097a5f84d901618b8a6f32b282 (commit)
      from  fde78362e6a2d8a1042d06ae7c1f48135a4c3f3a (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 -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/235c3f27724df2097a5f84d901618b8a6f32b282

commit 235c3f27724df2097a5f84d901618b8a6f32b282
Author: Antonio J. Pena <apenya at mcs.anl.gov>
Date:   Thu Jul 11 20:19:15 2013 -0500

    Fixes ticket #1899.
    
    Signed-off-by: Wesley Bland <wbland at mcs.anl.gov>

diff --git a/src/pm/hydra/include/hydra.h b/src/pm/hydra/include/hydra.h
index 685c3eb..5e4a51c 100644
--- a/src/pm/hydra/include/hydra.h
+++ b/src/pm/hydra/include/hydra.h
@@ -189,7 +189,8 @@ struct HYD_string_stash {
 #define HYD_STRING_STASH(stash, str, status)                            \
     do {                                                                \
         if ((stash).cur_count >= (stash).max_count - 1) {               \
-            HYDU_REALLOC((stash).strlist, char **, (stash).max_count + HYD_NUM_TMP_STRINGS, \
+            HYDU_REALLOC((stash).strlist, char **,                      \
+                         ((stash).max_count + HYD_NUM_TMP_STRINGS) * sizeof(char *), \
                          (status));                                     \
             (stash).max_count += HYD_NUM_TMP_STRINGS;                   \
         }                                                               \

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

Summary of changes:
 src/pm/hydra/include/hydra.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list