Skip to content

_v2-entry-point: Split LD_PRELOAD on either colons or spaces

Simon McVittie requested to merge wip/ld-preload-spaces into master

_v2-entry-point assumes that LD_PRELOAD is colon-delimited, but any combination of colons and/or spaces is actually documented to be a valid delimiter. Spotted while working on steam-runtime-tools!337 (merged).

  • _v2-entry-point: Split LD_PRELOAD on either colons or spaces

    According to ld.so(8), either is equally valid.

  • _v2-entry-point: Avoid passing --ld-preload= to pv-wrap

    There's no point in giving it an option that it will just ignore.

Edited by Simon McVittie

Merge request reports

Loading