Phantom pilots (Pilot registration bug)
Issue #546
resolved
Currently, XWVM allows entering concourse with pilots that do not really exist.
Steps to reproduce:
- Attempt to create a new pilot with a system file name (con, lpt1, etc.)
- After you get the system file error message, hit cancel.
- notice that the pilot was “created” anyway. at least in the registration, if not the hard drive.
- Enter concourse
-Rasi
Comments (4)
-
reporter -
reporter - changed status to open
-
reporter This seems to be fixed with the name mangling scheme. Creating a pilot called
CON
now created file called20201205-CON.vmpilot
. The name in the registration desk shows correctly asCON
and there is no problem coming in/out of concourse.
@Jason McNew
-
reporter - changed status to resolved
- Log in to comment
Fix applied in commit
#9d68a41 - should attempt to create pilot file first and only add internally if this succeeds.-Dez