[BUG] staging: lustre: Possible null function pointer in ctx_refresh_timeout()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In Linux-4.16, drivers/staging/lustre/lustre/ptlrp/sec.c,

557. int ctx_refresh_timeout(...) {
            .......
573. req->rq_cli_ctx->cc_ops->force_die(req->rq_cli_ctx, 0);
            ......
575. }

For x86 kernel configuration, there is no assignment of the function pointer ".force_die" in the kernel code. So calling the function pointer in line 573 may cause a null pointer dereference.


Best wishes,
Jia-Ju Bai
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux