2072 / 2072/Decursive

Blizzard_UIWidgetTemplateTextWithState tainting issue

Aberta
#51 10 comentários 0 reações 1 responsável Reivindicada por @2072 Ver no GitHub
Blizzard issue bug
Linguagem predominante
Lua
Estrelas
11
Forks
16
Merge médio
2d 6h
PRs com merge (30d)
1

Descrição

```text
Mainline/Blizzard_UIWidgetTemplateTextWithState.lua:35: attempt to perform arithmetic on local 'textHeight' (a secret number value tainted by 'Decursive'),
STACK:
, [Interface/AddOns/Blizzard_UIWidgets/Mainline/Blizzard_UIWidgetTemplateTextWithState.lua]:35: in function 'Setup'
[Interface/AddOns/Blizzard_UIWidgets/Mainline/Blizzard_UIWidgetManager.lua]:526: in function 'ProcessWidget'
[Interface/AddOns/Blizzard_UIWidgets/Mainline/Blizzard_UIWidgetManager.lua]:562: in function 'ProcessAllWidgets'
[Interface/AddOns/Blizzard_UIWidgets/Mainline/Blizzard_UIWidgetManager.lua]:275: in function 'RegisterForWidgetSet'
[Interface/AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua]:588: in function 'GameTooltip_AddWidgetSet'
[Interface/AddOns/Blizzard_FrameXMLUtil/AreaPoiUtil.lua]:44: in function <...terface/AddOns/Blizzard_FrameXMLUtil/AreaPoiUtil.lua:3>
[tail call]: ?
[Interface/AddOns/Blizzard_SharedMapDataProviders/AreaPOIDataProvider.lua]:166: in function 'OnMouseEnter'
[Interface/AddOns/Blizzard_SharedMapDataProviders/AreaPOIEventDataProvider.lua]:76: in function <..._SharedMapDataProviders/AreaPOIEventDataProvider.lua:74>
```

This is probably caused by Decursive's usage of GameTooltip... I only use AddLines on that but I'm not sure if I'm doing something wrong or if it's Blizzard's fault...

I would need a [taintlog ](https://wowpedia.fandom.com/wiki/CVar_taintLog) but the issue seems very random.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

The error trace points to Blizzard_UIWidgetTemplateTextWithState.lua line 35, where a 'secret number value tainted by Decursive' causes an arithmetic error. Examine Decursive's interaction with GameTooltip, particularly any AddLines calls. Enable taintLog via CVar to capture the taint chain. Review the Decursive code that modifies GameTooltip to identify the source of taint.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
lua
Domínio
game-dev
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.