H-uru / dirtsand

The D'ni in Real-Time Server and Network Dæmon
GNU Affero General Public License v3.0
35 stars 24 forks source link

Fix segfault on GameHost start. #142

Closed Hoikas closed 5 years ago

Hoikas commented 5 years ago

This oversight in the extern declaration of the s_globalStates map apparently caused the age filenames to stored in the map with case sensitive hashes. The case insensitive hash lookup in the AuthServ then failed, causing a null State to be given to the GameHost, resulting in a crash on merging a null State.

This should fix #122.

Deledrius commented 5 years ago

Awesome! This works without crashing my server. πŸŽ†πŸŽ†

πŸŽ†πŸŽŠ πŸŽ† 🍾 πŸŽ†