Well spotted - and if keeping snprintf I should at least have fixed the size !