Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148282273
D9846.id25842.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
D9846.id25842.diff
View Options
Index: sys/boot/zfs/zfsimpl.c
===================================================================
--- sys/boot/zfs/zfsimpl.c
+++ sys/boot/zfs/zfsimpl.c
@@ -2334,7 +2334,7 @@
char path[1024];
int symlinks_followed = 0;
struct stat sb;
- struct obj_list *entry;
+ struct obj_list *entry, *tentry;
STAILQ_HEAD(, obj_list) on_cache = STAILQ_HEAD_INITIALIZER(on_cache);
spa = mount->spa;
@@ -2482,7 +2482,7 @@
*dnode = dn;
done:
- STAILQ_FOREACH(entry, &on_cache, entry)
+ STAILQ_FOREACH_SAFE(entry, &on_cache, entry, tentry)
free(entry);
return (rc);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 17, 11:53 PM (15 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29860717
Default Alt Text
D9846.id25842.diff (572 B)
Attached To
Mode
D9846: loader: r314112 did introduce dereference freed pointer entry
Attached
Detach File
Event Timeline
Log In to Comment