Subj : Not a test To : Accession From : Digital Man Date : Sat Mar 02 2024 01:41 pm Re: Not a test By: Accession to apam on Sat Jan 20 2024 06:25 am > There seems to be a lot of lines in Jamnntpd's code that looks similar to > this. My first search for "strcpy" came up with: > > strcpy(addr,&originbuf[d+1]); Use of strcpy() in general is considered unsafe. But that's not the same issue that apam posted about (overlapping source and destination string). The example use of strcpy() above may be fine or may not, depending on the size of the 'addr' buffer and the length string at originbuf + d + 1. -- digital man (rob) Steven Wright quote #6: A conscience is what hurts when all your other parts feel so good. Norco, CA WX: 56.6øF, 82.0% humidity, 9 mph SW wind, 0.05 inches rain/24hrs .