==================================================================================== # # this file has been created for the Lame patcher program available for both *nix # and Windows platforms. # You need this program for continuing the patching of your files: # # http://aluigi.org/mytoolz.htm#lpatch # # Quick step-by-step # - compile lpatch: gcc -c md5.c ; gcc -o lpatch lpatch.c md5.o # - launch ./lpatch igi2fsfix_linux.lpatch # - read the text messages # - specify the name of the file to patch # - read the text messages to know if everything has been patched correctly # - test your game TITLE IGI 2: Covert Strike dedicated server 1.2 format string fix 0.1 (Linux) by Luigi Auriemma e-mail: aluigi@autistici.org web: aluigi.org INTRO This unofficial patch is referred to the bug described here: . . http://aluigi.org/adv/igi2fs-adv.txt . http://aluigi.org/adv/igi2bugs-adv.txt (bug 1) . If you are unsure if your server is vulnerable please use the proof-of-concept provided there. . This patch fully fixes the problem adding a %s before the logging string passed to the File_printf function of IGI2. Note that this patch works only with version 1.2 of the dedicated server for Linux, older versions will be NOT supported by me so don't ask. FILE igi2 RVA 08048000 BYTES_ORIGINAL 55 ; push ebp 89 e5 ; mov ebp,esp 81 ec 58 02 00 00 ; sub esp,0x258 83 ec 0c ; sub esp,0xc 8d 85 b4 fe ff ff ; lea eax,[ebp-0x14c] 50 ; push eax e8 4e e1 19 00 ; call 83212b0