mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix off-by-one overwrite.
This commit is contained in:
@@ -353,6 +353,7 @@ static void from_wire(char *name)
|
||||
l[len] = '.';
|
||||
}
|
||||
|
||||
if (l != name)
|
||||
*(l-1) = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user