celophi / melia

Open-source MMORPG server emulator
GNU General Public License v3.0
4 stars 2 forks source link

Issue #6. Fixed chat crashing client #10

Closed celophi closed 7 years ago

celophi commented 7 years ago

This fix inserts padding bytes so that ZC_CHAT contents start at 180 bytes offset from the beginning of the packet.

The reason for the client crash was because of a memcpy instruction that tries to copy a character array out of bounds.

Fixes: https://github.com/celophi/melia/issues/6