hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.163 by commit be01f35efa876eb81cebab2cb0add068b7280ef4, it was introduced in version v5.10.163 by commit 1f881d9201f6e0a917004a14329f9ff3d0bfa1e5. For more details please see the references link.