Skip to content

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

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