lkmpg icon indicating copy to clipboard operation
lkmpg copied to clipboard

Fix dereference NULL pointer with proc_lseek

Open linD026 opened this issue 3 years ago • 0 comments

Since the operations are static storage duration, the pointer in operation structures will initialize with NULL. But, the kernel doesn't check whether the pointer is NULL or not when calling it.

Related Discussion:

  • https://github.com/sysprog21/lkmpg/issues/165
  • https://github.com/sysprog21/lkmpg/issues/160

Close #165

linD026 avatar Sep 21 '22 06:09 linD026