1. 28 Jul, 2017 1 commit
    • Jason Yellick's avatar
      [FAB-5525] Fix configtx memory allocation bug · b3c14300
      Jason Yellick authored
      The configtx code uses an 'append(...)' against a slice, and records the
      new slice address when computing the config map.  Through sheer dumb
      luck, this code works for config groups which are only nested 2 levels
      deep, because the append call triggers a true new memory allocation.
      However, for config groups 3 levels deep (such as consortium groups),
      the append call actually re-uses the underlying memory for the slice.
      This causes the path to be corrupted internally for the consortium group
      items, and cause the wrong policy to be resolved when checking for a
      policy which has been specified relatively.
      This fix manually allocates new memory, copies it, and then appends the
      Change-Id: I0f4df619e006cdfebba60173156bda597d42a544
      Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
  2. 26 Apr, 2017 1 commit
  3. 28 Mar, 2017 1 commit
  4. 14 Feb, 2017 2 commits