# HG changeset patch # User William Astle # Date 1723146000 21600 # Node ID 10f8fc64481db93549c8fea35a26640800bd9a36 # Parent 27f4ec60a52d7d7476d36edeaac5a935fd96e230 Fix a slight error in cases where 0b is present but not followed by 0 or 1 This fixes an error where 0b is not followed by 0 or 1. In that case, the 0b prefix should not be consumed but the code which attempted to not consume it failed to actually update the parse pointer correctly. diff -r 27f4ec60a52d -r 10f8fc64481d lwasm/lwasm.c --- a/lwasm/lwasm.c Thu Aug 08 13:38:11 2024 -0600 +++ b/lwasm/lwasm.c Thu Aug 08 13:40:00 2024 -0600 @@ -649,7 +649,7 @@ if (**p != '0' && **p != '1') { - (*p)-2; + (*p) -= 2; return NULL; }