Thanks! I’ll have to re-read this code not on my phone tomorrow :). There’s an amusing comment above the GetFH call in wire_to_host about reusing the same buffer for input and output (so maybe the len check got added afterwards?). But I’d rather re-learn what this code is trying to do anyway.