Skip to content

Ptr#359

Open
adavak wants to merge 11 commits into
DaleHuntGB:ptrfrom
adavak:ptr
Open

Ptr#359
adavak wants to merge 11 commits into
DaleHuntGB:ptrfrom
adavak:ptr

Conversation

@adavak

@adavak adavak commented Jul 5, 2026

Copy link
Copy Markdown

locale function add.
copy profile problem fix.

adavak added 11 commits July 4, 2026 21:45
…e key for separator dropdown

- GUI.lua: wrap Left/Right/Up/Down display strings in L[] (4 dropdowns)
- TagsDatabase.lua: wrap 'Space' separator label in L[]
- enUS.lua: add L['Space'] = 'Space'
- zhCN.lua: add L['Space'] = '空格'
- Extract GetColourOrDefault() helper to safely unpack colour tables
- Add nil safeguards for HealthBarDB.Background (the crash trigger)
- Add nil safeguards for HealthBarDB.Foreground (same pattern risk)
- Add or 1 fallback for ForegroundOpacity and or 0.25 for BackgroundOpacity

Fixes: attempt to index field 'Background' (a nil value) when switching
profiles with incomplete saved variables
Aura.duration and aura.expirationTime can be secret values in
Retail/Classic WoW. Direct comparison throws:
  attempt to compare local 'duration' (a secret value)
Wrap the check with UUF:IsSecretValue() before comparing.
…alue taint

AuraUtil.DefaultAuraCompare calls UnitIsUnit internally, which throws
when aura data contains secret values during addon-tainted table.sort
execution. Fall back to UUF's own sort (isPlayerAura, auraInstanceID).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant