This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2 0/4] More portability fixes


This also fixes a use-after-free (well, free-before-initialization)
and a bug that leads to an accidentally different file format on
platforms where int is not 32 bits wide.

The last two patches are new or changed in this version. (Unchanged
patches are not denoted v2.)

Nick Alcock (4):
  libctf: fix the type of ctf_enum.cte_value
  libctf: fix use-after-free in function dumping
  libctf: look for BSD versus GNU qsort_r signatures
  libctf: work on platforms without O_CLOEXEC.

 include/ChangeLog                   |   4 +
 include/ctf.h                       |   2 +-
 libctf/ChangeLog                    |  29 ++++
 libctf/Makefile.am                  |   4 +-
 libctf/Makefile.in                  |  29 ++--
 libctf/config.h.in                  |  16 ++-
 libctf/configure                    | 198 ++++++++++++++++++++--------
 libctf/configure.ac                 |  60 ++++++++-
 libctf/ctf-archive.c                |   9 +-
 libctf/ctf-create.c                 |   2 +-
 libctf/ctf-decls.h                  |  43 +++++-
 libctf/ctf-dump.c                   |   2 +-
 libctf/{qsort_r.c => ctf-qsort_r.c} |   2 +-
 13 files changed, 313 insertions(+), 87 deletions(-)
 rename libctf/{qsort_r.c => ctf-qsort_r.c} (99%)

-- 
2.21.0.237.gd0cfaa883d


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]