Fixed potential buffer overrun in use of sprintf/strncpy. If the stylesheet