sauerbraten/extinfo — pull request #3 by doneel (2014-06-11 16:59:35+00:00)
Title: Unextended

Unfortunately, some server mods don't respond to all requests the same way as the vanilla sauerbraten server.
Namely Noobmod ([see this commit](http://forge.nooblounge.net/projects/noobmod/repository/diff/trunk/src/fpsgame/extinfo.h?rev=78&rev_to=76)).

The way they respond to requests for all player data begins correctly, but leaves off the ```EXTENDED_INFO_PLAYER_STATS_RESPONSE_IDS ``` byte, which query.go assumes is present. This means the trimmed response is only 6 bytes instead of 7 (though the 6th byte is a NO_ERROR null byte, so it also gets trimmed). This causes ``` playerCNs := response[7:]``` to cause a panic.