Thanks for review. Pushed. On 02.05.20 09:44, Alfred M. Szmidt wrote: > +2020-04-27 Tim Rühsen <[email protected]> > + > + telnet: Use memove for overlapping memory instead of strncpy. > + > + Overlapping source and destination buffers are not supported > + by strncpy and give undefined results. > + > + 7.24.2.3 of ISO/IEC 9899:201x: > + "If copying takes place between objects thatoverlap, > + the behavior is undefined." > + > + * telnet/commands.c (cmds): Use memove for overlapping memory > + instead of strncpy. > > LGTM, please commit to master. >
signature.asc
Description: OpenPGP digital signature
