Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106144015
D28570.id83638.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
343 B
Referenced Files
None
Subscribers
None
D28570.id83638.diff
View Options
Index: usr.sbin/makefs/mtree.c
===================================================================
--- usr.sbin/makefs/mtree.c
+++ usr.sbin/makefs/mtree.c
@@ -783,6 +783,8 @@
free(node->inode);
node->inode = curino;
node->inode->nlink++;
+ /* Reset st since node->inode has been updated. */
+ st = &node->inode->st;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 3:11 AM (10 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15610602
Default Alt Text
D28570.id83638.diff (343 B)
Attached To
Mode
D28570: usr.sbin/makefs: fix use-after-free in read_mtree_keywords()
Attached
Detach File
Event Timeline
Log In to Comment