Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restart: LoadwindowStates: fix NULL dereference #117

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

ThomasAdam
Copy link
Member

No description provided.

When restarting fvwm3, a state file is written to disk to record window
states/positions so that when they're recaptured by fvwm3, the windows
are as they were before.

The session code assuems that there is at least one window, which isn't
necessarily true.  This then throws out the reference counting when
reading in information which isn't based on a window -- such as monitor
information.  In such cases, fvwm3 would segfault.

This is changed to resize the matches list.
@ThomasAdam ThomasAdam merged commit 67232ee into master Jun 2, 2020
@ThomasAdam ThomasAdam deleted the ta/fix-session-restart branch June 2, 2020 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant