native-fetcher: fix invalid read