2072 / 2072/Decursive

Blizzard_UIWidgetTemplateTextWithState tainting issue

未關閉
#51 10 則留言 0 個 reaction 已指派 1 人 已被 @2072 認領 在 GitHub 檢視
Blizzard issue bug
主要語言
Lua
星號
11
分支
16
平均合併
2 天 6 小時
30 天內合併 PR
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。