mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-24 07:36:38 +00:00

This patch fixes a potential null dereference bug where we dereference pegasus before a null check. This patch simply moves the dereferencing after the null check. Signed-off-by: Micah Gruber <micah.gruber@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>