Dall'output che hai postato strlen restituisce il risultato corretto.