Fix problen in from_wire() when names contain escape chars.

Thanks to Royce M <royce@xchglabs.com> for spotting this.
This commit is contained in:
Simon Kelley committed 2026-05-10 21:49:40 +01:00
1 parent 9d2c93b608
commit c705607122
1 file changed
+1
+1
View File
@@ -394,6 +394,7 @@ void from_wire(char *name)
if (IS_NAME_ESCAPE(c))
{
memmove(p+1, p, 1 + last - p);
last++;
len++;
*p++ = NAME_ESCAPE;
(*p)++;