]> xenbits.xensource.com Git - xen.git/commit
tools/pygrub: Small refactors
authorAlejandro Vallejo <alejandro.vallejo@cloud.com>
Mon, 25 Sep 2023 17:32:22 +0000 (18:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Oct 2023 05:36:50 +0000 (06:36 +0100)
commit9f2ff9a7c9b3ac734ae99f17f0134ed0343dcccf
tree4b12f0237949b844b55294978babe18ed6a87382
parentf4b504c6170c446e61055cbd388ae4e832a9deca
tools/pygrub: Small refactors

Small tidy up to ensure output_directory always has a trailing '/' to ease
concatenating paths and that `output` can only be a filename or None.

This is part of XSA-443 / CVE-2023-34325

Signed-off-by: Alejandro Vallejo <alejandro.vallejo@cloud.com>
tools/pygrub/src/pygrub