Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core/BG: Wintergrasp Rewrite m_tenacityStack should be signed int #21001

Open
robinsch opened this issue Nov 28, 2017 · 3 comments
Open

Core/BG: Wintergrasp Rewrite m_tenacityStack should be signed int #21001

robinsch opened this issue Nov 28, 2017 · 3 comments

Comments

@robinsch
Copy link
Contributor

robinsch commented Nov 28, 2017

Description:

While debugging some WG I found out that m_tenacityStack should be signed. At https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Battlefield/Zones/BattlefieldWG.cpp#L1319 a negative value (in case alliance players have more people then horde) value gets assigned to a unsigned value causing overflow.

Branch(es):

both

TC rev. hash/commit:
da99183

@jackpoz
Copy link
Member

jackpoz commented Nov 29, 2017

WG is defined as "Experimental as in incomplete, bugged and with crashes".
There is currently a PR open about it #20144 with apparently the same issue, you could report the bug there and test the PR, maybe one day it will be merge :)

@lachtanek
Copy link
Contributor

It should be fixed in the rewrite when ccrs gets to apply my submitted changes. He doesnt seem to have time for it right now tho.

@Faq
Copy link
Contributor

Faq commented Dec 7, 2017

Can someone change more describing title of issue, at-least put WG in it?

@Killyana Killyana changed the title m_tenacityStack should be signed int Core/BG: Wintergrasp Rewrite m_tenacityStack should be signed int Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants