]> granicus.if.org Git - strace/commit
s390: fix PRINT_UNKNOWN_TAIL_EX
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 4 Sep 2019 08:50:59 +0000 (10:50 +0200)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 4 Sep 2019 10:57:03 +0000 (12:57 +0200)
commitd969e54109dae38e49fceaf576587007011cfecd
treec5ab92849bef7c684b969f93324439728db93b4f
parent172dc2fedd23d4debf65252eb3aafe0df70a1567
s390: fix PRINT_UNKNOWN_TAIL_EX

In the conversion of PRINT_UNKNOWN_TAIL into PRINT_UNKNOWN_TAIL_EX
the usage of sizeof(*(hdr_)) hasn't been replaced to (hdr_size_)
in all places.  Offset calculation also had to be changed.

* s390.c (PRINT_UNKNOWN_TAIL_EX): Fix addr and len arguments
in is_filled and print_quoted_string calls.

Fixes: v5.2-97-g210593c "s390: update sthyi decoder"
Reported-by: Dan HorĂ¡k <dan@danny.cz>
Resolves: https://github.com/strace/strace/issues/108
s390.c