eycorsican / netstack-lwip

57 stars 41 forks source link

Fix one instance of undefined behavior #7

Closed chayleaf closed 1 year ago

chayleaf commented 1 year ago

this pointer isn't guaranteed to be aligned, so this is ub (Rust crashes here in debug mode)

eycorsican commented 1 year ago

Thanks for pointing out the issue, should be fixed in cb5c81d