Blizzard_UIWidgetTemplateTextWithState tainting issue
- Langage dominant
- Lua
- Étoiles
- 11
- Forks
- 16
- Merge moyen
- 2 j 6 h
- PR mergées (30 j)
- 1
Description
```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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- lua
- Domaine
- game-dev
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100