CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2015/01/12 08:18:07
Modified files: usr.bin/ssh : sshbuf-getput-basic.c sshbuf-getput-crypto.c Log message: apparently memcpy(x, NULL, 0) is undefined behaviour according to C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls when length==0; ok markus@