MantisBT - Zandronum
View Issue Details
0002775Zandronum[All Projects] Bugpublic2016-07-10 08:422021-01-17 21:33
needs testingopen 
0002775: duplicate lumps with same extension cause auth fail when hosted on linux
as mentioned in the first part of [^]

the provided example wad has 2 DECORATE lumps with the same extension

you will get an auth fail when trying to connect to a linux server hosting this wad, but itll work fine if hosted on windows

to fix this within the wad itself, just add an extension to one of the DECORATE lumps
host the provided example wad on a linux server
try connecting to it
auth fail

repeat with a windows server, itll work fine
fwiw, while making the example wad, i forgot that it needed to be .pk3, as i couldnt reproduce the issue with it as .wad

issue can also be reproduced in zan 3.0
No tags attached.
? ticket2775.pk3 (272) 2016-07-10 08:42
Issue History
2016-07-10 08:42WaTaKiDNew Issue
2016-07-10 08:42WaTaKiDFile Added: ticket2775.pk3
2017-10-11 02:04MarcaekNote Added: 0018525
2017-10-11 07:44Edward-sanNote Added: 0018528
2017-10-11 15:14DuskNote Added: 0018529
2017-10-11 17:05AOSPNote Added: 0018530
2017-10-29 21:10DuskAssigned To => Dusk
2017-10-29 21:10DuskStatusnew => assigned
2017-10-29 21:10DuskTarget Version => 3.1
2017-12-25 20:14FilysteaNote Added: 0018973
2017-12-25 20:14FilysteaNote Edited: 0018973bug_revision_view_page.php?bugnote_id=18973#r11360
2019-06-04 21:54DuskStatusassigned => new
2021-01-17 21:33Torr SamahoNote Added: 0021589
2021-01-17 21:33Torr SamahoStatusnew => needs testing

2017-10-11 02:04   
I guess this was just completely missed?
2017-10-11 07:44   

I guess this was just completely missed?

Since it happens also in 2.1, there was no reason to urgently fix it for 3.0.
2017-10-11 15:14   
I don't think that this is something that can or needs to be fixed. The WAD file is broken, you're not supposed to have files with the same name inside zip archives, so of course it is loaded differently under different platforms.

Perhaps the correct way would be to respond to this case with a fatal error or with the wad ignored.
2017-10-11 17:05   
Fatal error seems best, wouldn't want people confused as to why a WAD isn't being loaded with seemingly no reason.
2017-12-25 20:14   
You need not to have anything duplicated to have this issue.
I had one windows client joining normally when other exploding on proper pk3 files. (both joining linux server ).

The hash check is broken. Old case.

Torr Samaho   
2021-01-17 21:33   
I added Kaminsky's patch for this.