Racy einfo allocation and emlog_info_list manipulation
ahippo opened this issue · 0 comments
ahippo commented
As mentioned in a comment for #7, there are a few other race conditions:
- with
emlog_info_list
manipulation (create_einfo()
vsfree_einfo()
) - with new einfo allocation (
get_einfo()
vscreate_einfo()
)
This may cause memory leaks or crashes during concurrent opening of new emlog buffers,
or concurrent closing/opening of an emlog device (when loaded with emlog_autofree=1
(defaults to off)).