OriginalBugID: 3103 Bug
Exists since 8.1a1. The problem is the memcmp case, which doesn't
take into account that the NULL byte is 2 \x80's.
There is a work-around:
string compare -length 1 \x00 \x20