FillZpp / sys-info-rs

Get system information in Rust.
MIT License
168 stars 56 forks source link

Memory unsafety: data races in darwin.c #106

Open tmfink opened 2 years ago

tmfink commented 2 years ago

I've found the following data races in darwin.c:

  1. The static unsigned long long size is a mutable global that is read/modified without any synchronization.
  2. static int skipvfs is mutable global that is racily initizialized in makevfslist().