Skip to content

Commit e9ebe64

Browse files
committed
guard against secret destGUID values
1 parent f60b1da commit e9ebe64

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

SheepMonitor.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Title: Sheep Monitor
33
## Notes: Provides various methods of notification to help you keep track of your flock.
44
## Author: funkjedi
5-
## Version: 1.34
5+
## Version: 1.35
66
## SavedVariables: SheepMonitorDatabase
77
## OptionalDeps: Ace3, LibAuraInfo-1.0
88
## X-Curse-Project-ID: 28218

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.35
2+
- guard against secret destGUID values
3+
14
1.34
25
- performance improvements for classic
36

main.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ end
9999
function SheepMonitor:UNIT_AURA(event, unitTarget, updateInfo)
100100
local destGUID = UnitGUID(unitTarget)
101101

102+
if not destGUID or issecretvalue(destGUID) then
103+
return
104+
end
105+
102106
if updateInfo then
103107
self:HandleUnitAuraRetail(unitTarget, destGUID, updateInfo)
104108
else

0 commit comments

Comments
 (0)