This reverts commit f4519578. The change is wrong. segname may not be NUL-terminated if it has 16 bytes.