AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Doom 64 wad for prboom1/28/2024 SUMMARY: AddressSanitizer: heap-buffer-overflow /root/projects/prboom-plus/prboom2/src/SDL/i_network.c:221 in ChecksumPacketĠx367043f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faĠx36704400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faĠx36704410: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faĠx36704420: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faĠx36704430: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa #2 0x82c25d0 in D_CheckNetGame /root/projects/prboom-plus/prboom2/src/d_client.c:187 #4 0x817e94b in D_DoomMain /root/projects/prboom-plus/prboom2/src/d_main.c:1977 #3 0x817da59 in D_DoomMainSetup /root/projects/prboom-plus/prboom2/src/d_main.c:1853 #2 0x82c26b1 in D_CheckNetGame /root/projects/prboom-plus/prboom2/src/d_client.c:192 #1 0x83206c7 in I_GetPacket /root/projects/prboom-plus/prboom2/src/SDL/i_network.c:243 #0 0x8320489 in ChecksumPacket /root/projects/prboom-plus/prboom2/src/SDL/i_network.c:221 SetRatio: width/height parameters 640x480ĭ_CheckNetGame: waiting for server to signal game start Loading DEH lump from /root/projects/prboom-plus/freedm-0.11.3/freedm.wad Joined game as player 1/2 0 WADs specifiedĪdding /root/projects/prboom-plus/freedm-0.11.3/freedm.wadĪdding /root/projects/prboom-plus/prboom2/bin/share/games/doom/prboom-plus.wad I_InitScreenResolution: Using resolution 640x480ĭ_InitNetGame: Checking for network game. Test case for pitch=672 is processed 15243 times for 100 msec Test case for pitch=640 is processed 14185 times for 100 msec I_CalculateRes: trying to optimize screen pitch You are welcome to redistribute it under certain conditions. PrBoom-Plus is released under the GNU General Public license v2.0. PrBoom-Plus (built 13:35:34), playing: DOOM 2: Hell on Earth IWAD found: /root/projects/prboom-plus/freedm-0.11.3/freedm.wad I_SetAffinityMask: manual affinity mask is 1įound /root/projects/prboom-plus/freedm-0.11.3/freedm.wad The first crash occured immediately, just by running the client./prboom-plus -iwad /root/projects/prboom-plus/freedm-0.11.3/freedm.wad -net 127.0.0.1 -window -nomouseĭefault file: /root/.prboom-plus/prboom-plus.cfgįound /root/projects/prboom-plus/prboom2/bin/share/games/doom/prboom-plus.wad Listening on port 5030, waiting for 2 players When everything was ready, it was possible to run the server and the client./prboom-plus-game-server wget unzip freedm-0.11.3.zip First run and crash I was mostly interested in multiplayer part, so I chose FreeDM, the multiplayer part of Freedoom project. PrBoom-Plus is just an engine, so it requires game data to run. configure make install Game dataĪfter compilation, there was the last step required before running the game. CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address". sed -i 's/^CFLAGS_OPT=.*/CFLAGS_OPT="-O0 -ggdb3"/' configure.acĪfter such preparation I was able to compile the project with ASAN. apt-get install libsdl2-dev libsdl2-net-dev libsdl2-image-dev libpcre3-dev libsdl2-mixer-dev libfluidsynth-dev libportmidi-dev libmad0-dev libdumb1-dev libvorbis-devĪlso, I added useful compilator flags, because it appeared that CFLAGS environment variable placed additional parameters in invalid order, making them useless. svn co Īccording to INSTALL file I installed required packages. I started with downloading the project from repository and preparing for compilation with ASAN. As I’m a Doom fan by myself I decided to get PrBoom-plus and analyze it from security perspective. It supports Windows, Mac, Linux and BSD systems. PrBoom-plus is a Doom source port based on PrBoom (which itself is based on other projects).
0 Comments
Read More
Leave a Reply. |