From 55e7c56376f85eeea21594bbeeb910297cb7333c Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Wed, 10 Nov 2021 10:38:26 -0500 Subject: [PATCH] vere: update event injection for four letter vanes Event injection validation was never updated to support routing on a full vane name. Upgrades the check, so that wires with a first element longer than 4 characters fail validation, instead of the previous limit of 1 character --- pkg/urbit/vere/io/fore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/urbit/vere/io/fore.c b/pkg/urbit/vere/io/fore.c index 81476d92a1..7354a8225d 100644 --- a/pkg/urbit/vere/io/fore.c +++ b/pkg/urbit/vere/io/fore.c @@ -48,7 +48,7 @@ _fore_inject(u3_auto* car_u, c3_c* pax_c) u3l_log("pier: invalid wire in -I ovum\n"); } else if ( (c3n == u3a_is_atom(tar)) - || (1 < u3r_met(3, tar)) ) + || (4 < u3r_met(3, tar)) ) { u3l_log("pier: invalid target in -I wire\n"); }