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 摘要。