> > > new_key_name = malloc(strlen(key_name)+dkh->keynamelen+1); > > > strcpy(new_key_name, key_name); > > > > Well, these two lines are EXACTLY what the strndup code does :-) > > I don't think so. memcpy != strcpy.
I meant to add 'with my fix attached to my first mail'.
But well, will let the masters fix it (I am currently happpy with the fix I
have in my tree).
Lionel
--
Lionel Ulmer - http://www.bbrox.org/
