Commit Graph

3 Commits

Author SHA1 Message Date
Archit Gupta
d75cae80fa makeBinaryWrapper: fix read past NUL
When setting a prefix for a path-like environment variable, the
deduplication code in set_env_prefix reads past the NUL byte at the end
of the env val and into the next entry. This corrupts the resultant env
value with data from the next env var, or other data sitting after it.
2026-08-04 17:46:56 -07:00
Adam Dinwoodie
7c0745748a tests.makeBinaryWrapper: fix broken tests
0fdcb958d3 (makeBinaryWrapper: If prefix/suffix already exists, remove
the original (#451031), 2025-12-11) changed the C code generated by
makeBinaryWrapper.  The tests for makeBinaryWrapper check the exact code
that's generated, so they need updating.

Fixes #505339.
2026-03-31 15:59:11 +01:00
Emily
6ff076b1b1 tests.makeBinaryWrapper: avoid lib.fileset 2024-12-31 02:30:18 +00:00