coisane: Removed obsolete string length variables and pointer checks