Closed TimMangan closed 1 year ago
Both the FileRedirectionFixup and RegLegacyFixup crash when initializing is bad regex patters are provided in the config.json file.
For example, the FRF calls pattern.assign in the InitializeConfiguration section unprotected.
Passing a string like .\xml instead of the correct syntax .\.xml causes the crash.
This code should be protected and bad patterns ignored after logging.
Potential fix added into my fork. The offender is caught a logged and the fixups otherwise ignore the bad entry.
This issue is fixed from PSF release : version 1.0.220926.1
Both the FileRedirectionFixup and RegLegacyFixup crash when initializing is bad regex patters are provided in the config.json file.
For example, the FRF calls pattern.assign in the InitializeConfiguration section unprotected.
Passing a string like .\xml instead of the correct syntax .\.xml causes the crash.
This code should be protected and bad patterns ignored after logging.