Skip to content
Snippets Groups Projects

pv-wrap: Don't try to construct a sysroot for a NULL path

Merged Simon McVittie requested to merge wip/smcv/sysroot-fixup into main
  • pv-wrap: Don't try to construct a sysroot for a NULL path

    The SrtSysroot passes it to a function that is annotated as not validly accepting NULL, which is caught by recent functions of UBSan. In practice _srt_sysroot_new() would have returned NULL in this situation anyway.

    Fixes: 1d08d563 "pv-wrap: Use a SrtSysroot to represent the interpreter root"

  • SrtSysroot: Add precondition checks

Merge request reports

Pipeline #68298 passed

Pipeline passed for a356e800 on wip/smcv/sysroot-fixup

Merged by Ludovico de NittisLudovico de Nittis 1 year ago (Nov 23, 2023 11:18am UTC)

Merge details

  • Changes merged into with 1d78f00b.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading