freebsd-dev/stand/libsa/zfs
Andriy Gapon c527e92004 zfs boot: fix a crash in a rarely taken path in fzap_lookup
Instead of passing NULL to fzap_name_equal and crashing, just return
ENOENT.  This happened when higher bits of a hash of the searched key
(its hash prefix) matched a hash prefix of some key in the ZAP, but the
full hash value of the searched key did not match any key in the ZAP.

I observerved this problem when loader tried to look up
"features_for_read" in a particular old pool that predates pool
features.

MFC after:	2 weeks
Sponsored by:	Panzura
2019-12-13 22:04:13 +00:00
..
devicename_stubs.c
libzfs.h Eliminate duplicated code and struct member definitions in the handoff 2018-12-03 03:58:30 +00:00
Makefile.inc Remove duplicate lz4 implementations 2019-11-02 12:28:04 +00:00
zfs.c loader: clean up the noise around log device 2019-11-05 18:35:13 +00:00
zfsimpl.c zfs boot: fix a crash in a rarely taken path in fzap_lookup 2019-12-13 22:04:13 +00:00