codec: substext: process asprintf returnval