struct utsname { char sysname[_UTSNAME_SYSNAME_LENGTH]; char nodename[_UTSNAME_NODENAME_LENGTH]; char release[_UTSNAME_RELEASE_LENGTH]; char version[_UTSNAME_VERSION_LENGTH]; char machine[_UTSNAME_MACHINE_LENGTH]; }; int uname(struct utsname *buf);
The order of fields are the same but the size of each fields are different
This issue is similar to the previous one, but more horrible
because this issue may be the reason of occasional crashes
clang started crashing when I tried a newer version
posix_spawn_file_actions_t was another example of this issue