Handle a NULL name properly.

Reported by Klocwork #67
1 file changed