ntfs3-oot: fix null dereference
This commit is contained in:
parent
6218874b12
commit
7f598ace2d
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=ntfs3-oot
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_VERSION:=46d199e7d7302879b23ad20097ba53b152257288
|
||||
PKG_HASH:=6c53ec51f33a71f8762b6280d097a7fbf52ff6e69d53d7f11d38f56d9be2dccb
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
--- a/inode.c
|
||||
+++ b/inode.c
|
||||
@@ -53,7 +53,7 @@ static struct inode *ntfs_read_mft(struc
|
||||
struct MFT_REC *rec;
|
||||
struct runs_tree *run;
|
||||
|
||||
- inode->i_op = NULL;
|
||||
+ // inode->i_op = NULL; // avoid null dereference
|
||||
|
||||
err = mi_init(&ni->mi, sbi, ino);
|
||||
if (err)
|
||||
Loading…
Reference in New Issue
Block a user