New comment by richfelker on void-packages repository https://github.com/void-linux/void-packages/issues/31722#issuecomment-881003654 Comment: I read the upstream patch, and it's still using an explicit `sizeof(TYPE)`. Using `malloc(sizeof *p)` would be a lot safer and would have avoided introducing this bug to begin with.