[DynInst_API:] [dyninst/dyninst] d35407: fix issues with calloc calls (order/overflow) (#1781)


Date: Mon, 23 Sep 2024 14:58:29 -0700
From: kupsch <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] d35407: fix issues with calloc calls (order/overflow) (#1781)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: d354076814edd31f8eddd4e8ea96cd2d9111eb6b
      https://github.com/dyninst/dyninst/commit/d354076814edd31f8eddd4e8ea96cd2d9111eb6b
  Author: kupsch <kupsch@xxxxxxxxxxx>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M common/h/Annotatable.h
    M dynC_API/src/C.y
    M dynC_API/src/dynC.tab.C

  Log Message:
  -----------
  fix issues with calloc calls (order/overflow) (#1781)

- fix order of calloc arguments that gcc 14 warns about: the
  correct order is number of elements, then size of elements

- fix buffer in one of the calloc calls: the number of elements
  calculations did not incorporate 13-bytes of output



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] d35407: fix issues with calloc calls (order/overflow) (#1781), kupsch <=