On Wed, Dec 06, 2023 at 02:13:40PM +0100, Florian Westphal wrote: > Phil Sutter <phil@xxxxxx> wrote: > > Hmm. Probably I miss the point regarding struct nft_afl_input. IMO, if > > save_candidate() writes data into the file despite called savebuf() > > setting use_filename = false, nft_afl_run_cmd() will try to read from > > ->buffer when it should read from ->fname. > > In that case buffer should have same content as the on-disk file, > so there is no need to open/read/close. Ah, heh. I managed to ignore the mandatory snprintf() call in savebuf(). So it's indeed just "file backed buffer storage". Thanks for explaining! Cheers, Phil