Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002407Zandronum[All Projects] Bugpublic2015-08-20 14:212018-09-30 22:20
ReporterDusk 
Assigned ToDusk 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.0-beta 
Target Version3.0Fixed in Version3.0 
Summary0002407: Server chat crashes the client
DescriptionUsing rcon say crashes the client. Server remains fine.

This happens because CHAT_PrintChatString will call BOTCMD_SetLastChatPlayer( players[ulPlayer].userinfo.GetName() ); even if ulPlayer is MAXPLAYERS.
Additional Information

0000002 <signal handler called>
No locals.
0000003 0x000000000058d7cc in FindKey (key=..., this=<optimized out>) at /home/crimson/dev/zandronum-sandbox/src/tarray.h:834
        n = 0x24c3
0000004 CheckKey (key=..., this=<optimized out>) at /home/crimson/dev/zandronum-sandbox/src/tarray.h:579
No locals.
0000005 GetName (this=<optimized out>) at /home/crimson/dev/zandronum-sandbox/src/d_player.h:340
No locals.
0000006 CHAT_PrintChatString (ulPlayer=64, ulMode=<optimized out>, pszString=0x17e9000 <NETWORK_ReadString(BYTESTREAM_s*)::s_szString> "hi") at /home/crimson/dev/zandronum-sandbox/src/chat.cpp:480
        ulChatLevel = 2
        OutString = {Chars = 0x3ab466c "<server>: hi", static NullString = {Len = 0, AllocLen = 2, RefCount = 55768, Nothing = "\000"}}
        ChatString = {Chars = 0x3ab441c "hi", static NullString = {Len = 0, AllocLen = 2, RefCount = 55768, Nothing = "\000"}}
0000007 0x00000000005977e9 in client_PlayerSay (pByteStream=pByteStream@entry=0x17e8df8 <g_NetworkMessage+24>) at /home/crimson/dev/zandronum-sandbox/src/cl_main.cpp:5761
        ulPlayer = <optimized out>
        ulMode = <optimized out>
        pszString = <optimized out>
Attached Files

- Relationships

-  Notes
User avatar (0013392)
Dusk (developer)
2015-09-04 14:47

'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/15 [^]'
User avatar (0013410)
cobalt (updater)
2015-09-05 09:35

Issue addressed by commit eb439948c1af: Fixed: server chat crashed all clients (fixes 2407)
Committed by Teemu Piippo [Dusk] on Friday 04 September 2015 17:46:25

Changes in files:

 src/chat.cpp | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

User avatar (0013454)
DevilHunter (reporter)
2015-09-08 11:21

Tested this on my own server. It works.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: DrinkyBird DevilHunter
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-08-20 14:21 Dusk New Issue
2015-08-20 14:21 Dusk Description Updated View Revisions
2015-08-20 14:22 Dusk Product Version => 3.0-beta
2015-09-04 14:47 Dusk Note Added: 0013392
2015-09-04 14:47 Dusk Assigned To => Dusk
2015-09-04 14:47 Dusk Status new => needs review
2015-09-05 09:35 cobalt Status needs review => needs testing
2015-09-05 09:35 cobalt Target Version => 3.0
2015-09-05 09:35 cobalt Description Updated View Revisions
2015-09-05 09:35 cobalt Additional Information Updated View Revisions
2015-09-05 09:35 cobalt Note Added: 0013410
2015-09-08 11:21 DevilHunter Note Added: 0013454
2015-09-08 19:35 Dusk Status needs testing => resolved
2015-09-08 19:35 Dusk Fixed in Version => 3.0
2015-09-08 19:35 Dusk Resolution open => fixed
2018-09-30 22:20 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker