> > More of my paranoia for array access here. :) > > I've added this at the top of pkc7_digest(): > > if (pkcs7->sig.pkey_hash_algo > PKEY_HASH__LAST || > pkey_hash_algo_name[pkcs7->sig.pkey_hash_algo])
There should be a '!' here. > return -ENOPKG; David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/