K 10 svn:author V 3 ken K 8 svn:date V 27 2001-02-07T20:19:53.000000Z K 7 svn:log V 448 Fix a core dump when doing 'tosha -i'. (Maintainer timeout after about two months.) The problem is in resolve_extension(). strncpy() will only null-terminate the destination string if it has enough room, according to the given length. In this implementation, there will never be enough room to null-terminate the string, from what I can tell. So if the memory in 'tmpstr' contains non-nulls, you'll get a core-dump in the subsequent strcat(). END