[0/2] Fix array subrange (de) serialization

Message ID 87wny67of6.fsf@redhat.com
Headers
Series Fix array subrange (de) serialization |

Message

Dodji Seketeli Nov. 27, 2020, 4:30 p.m. UTC
  Hello,

The following two small patches are to fix bug
https://sourceware.org/bugzilla/show_bug.cgi?id=26780 where libabigail
fails to properly serialise Fortran array sub-ranges.

The first patch is just a small cleanup patch for a little issue I saw
while looking at the bug.  The second patch is the bug fix itself.

The two patches have been applied to master.

Dodji Seketeli (2):
  reader: Read array subrange length into an uint64_t
  Bug 26780 - Fix array subrange bounds (de)serialization

 src/abg-reader.cc                             |  28 ++++++++++++++++--
 src/abg-writer.cc                             |  10 +++++++
 tests/data/Makefile.am                        |   3 ++
 .../hdf5-1.10.6-2.fc33.x86_64.rpm             | Bin 0 -> 2227815 bytes
 ...10.6-2.fc33.x86_64.self-check-report-0.txt |  24 +++++++++++++++
 .../hdf5-debuginfo-1.10.6-2.fc33.x86_64.rpm   | Bin 0 -> 3825438 bytes
 tests/test-diff-pkg.cc                        |  12 ++++++++
 7 files changed, 75 insertions(+), 2 deletions(-)
 create mode 100644 tests/data/test-diff-pkg/hdf5-1.10.6-2.fc33.x86_64.rpm
 create mode 100644 tests/data/test-diff-pkg/hdf5-1.10.6-2.fc33.x86_64.self-check-report-0.txt
 create mode 100644 tests/data/test-diff-pkg/hdf5-debuginfo-1.10.6-2.fc33.x86_64.rpm