Blizzard_UIWidgetTemplateTextWithState tainting issue
- 主要言語
- Lua
- スター
- 11
- フォーク
- 16
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 1
説明
```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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- game-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100