In Tue, Jun 2, 2015 at 6:44 PM, Corinna Vinschen <vinschen@xxxxxxxxxx> wrote: [...] > that patch is fine, albeit not really necessary. Thanks. > The source string is a > constant string of 5 bytes and the target buffer size is guaranteed to > be larger than 5 bytes (DNLEN = 15, UNLEN = 256). Assuming DNLEN and UNLEN don't change in future :-) Anyway I'd like to be able to do "#pragma GCC poison strcpy" or __attribute__((deprecated)) + -Werror or something one day to help stop problematic functions creeping in where it might matter (assuming I can figure out a way to do it without increasing the cost of keeping in sync with OpenBSD). -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev