strncpy is very very very evil... That piece of shit made us fail 5 tests