Backport r493: Check that feedback buffer is not null before operating on it in chain_select()
Changed paths: