Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151641270
D9846.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
587 B
Referenced Files
None
Subscribers
None
D9846.id.diff
View Options
Index: head/sys/boot/zfs/zfsimpl.c
===================================================================
--- head/sys/boot/zfs/zfsimpl.c
+++ head/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
Fri, Apr 10, 5:29 PM (10 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31182163
Default Alt Text
D9846.id.diff (587 B)
Attached To
Mode
D9846: loader: r314112 did introduce dereference freed pointer entry
Attached
Detach File
Event Timeline
Log In to Comment