This might be useful for someoneā¦the forthcoming patch adds support for "%s" format to sscanf. Also handles length specification so it should be relatively safe.
Created attachment 1934 [details] add %s format
I'm no fan of the xscanf function family, but whatever. committed.
Created attachment 1934 [details] add %s format