A segmentation fault was discovered in radare2 with adf command. In libr/core/cmdanal.c, when command "adf" has no or wrong argument, analfcndata (core, input + 1) --> RAnalFunction *fcn = ranalgetfcnin (core->anal, core->offset, -1); returns null pointer for fcn causing segmentation fault later in ensurefcn_range (fcn).