OSC 9;9 with semicolon as PWD crashes WT #17456

Closed
opened 2026-01-31 05:43:01 +00:00 by claunia · 2 comments
Owner

Originally created by @mqudsi on GitHub (May 10, 2022).

Windows Terminal version

1.12.10984.0

Windows build number

10.0.18363.1556

Other Software

No response

Steps to reproduce

As reported by @faho:

Use OSC 9;9 to set the PWD value to a single semicolon. Under bash:

printf "\e]9;9;;\e\\"

Expected Behavior

No crash.

Actual Behavior

Windows Terminal crashes.

Originally created by @mqudsi on GitHub (May 10, 2022). ### Windows Terminal version 1.12.10984.0 ### Windows build number 10.0.18363.1556 ### Other Software _No response_ ### Steps to reproduce [As reported by @faho](https://github.com/fish-shell/fish-shell/issues/8805): Use OSC 9;9 to set the PWD value to a single semicolon. Under bash: ``` printf "\e]9;9;;\e\\" ``` ### Expected Behavior No crash. ### Actual Behavior Windows Terminal crashes.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:43:01 +00:00
Author
Owner

@DHowett commented on GitHub (May 10, 2022):

Thanks for the report! This was fixed as part of #12432, which will be coming out to the stable channel shortly 😄
Due to some refactoring, it wasn't a straightforward backport so we did not seek to include it in 1.12.

I'm gonna close this in favor of tracking issue /dup #12378.

@DHowett commented on GitHub (May 10, 2022): Thanks for the report! This was fixed as part of #12432, which will be coming out to the stable channel shortly :smile: Due to some refactoring, it wasn't a straightforward backport so we did not seek to include it in 1.12. I'm gonna close this in favor of tracking issue /dup #12378.
Author
Owner

@ghost commented on GitHub (May 10, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (May 10, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17456