Halflife: [GoldSrc] Malformed strings can crash the game

Created on 20 Apr 2019  路  7Comments  路  Source: ValveSoftware/halflife

ezgif com-video-to-gif

The crash occurs when wcsncpy is called with the third argument negative inside the function CHudSayText::SayTextPrint.

Screenshot_2

All 7 comments

Fixed, this will be included in the next beta update.

Fixed in beta 'Exe build: 11:12:36 May 21 2019 (8244)'.

The bug still works on last beta. To verify this, you need to connect to HLTV server and send a few labels to chat, for example say #spec_help_text #spec_help_text

Oh, I'm sorry, I completely misinterpreted this report. I thought it was reporting that the third parameter to SayTextPrint (clientIndex) was negative and that was causing a crash (which I found it would if it is negative, so that is what I fixed). I should have the actual issue here fixed in the next beta.

This should be properly fixed now in beta 'Exe build: 16:32:50 May 22 2019 (8245)'.

I confirm, fixed.

Closing as fixed.

Was this page helpful?
0 / 5 - 0 ratings