To take in consideration the extra '\0'. Checked on x86_64-linux-gnu. (cherry picked from commit b2cd93fc)