elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
152 stars 39 forks source link

Modifying the logged_in variable to be class private to allow access … #598

Closed oddveryodd closed 2 years ago

oddveryodd commented 2 years ago

…outside of the function it is allocated in. The logged_in variable is referenced by a different function, and a race condition can occur, causing a de reference to a freed element.

meisenzahl commented 2 years ago

Closes #578

meisenzahl commented 2 years ago

@oddveryodd thank you for your contribution. Great work!