Hello,

> 
> I recently downloaded some patches for TELNETD and FTPD to fix buffer
> overflow exposures.
> 
> The patch is in DIFF format. Is there a way to apply the patches with
> out manually editing the source files?
> 

Use "patch" command (if your system doesn't have it, get GNU patch).
Suppose you have kept patch files in /tmp, issue the following
commands:

$ cd ~/src/krb5-1.2.2/appl/telnet/telnetd
$ patch < /tmp/telnetd_122_patch.txt

$ cd ~/src/krb5-1.2.2/appl/gssftp/ftpd
$ patch < /tmp/ftpbuf_122_patch.txt

------------------------------------------------------------------------------
Marcio d'Avila Scheibler - Divisao de Suporte ([EMAIL PROTECTED])
Centro de Processamento de Dados - Campus Universitario - CEP 97105-900
Universidade Federal de Santa Maria - RS - Brasil
=============================================================================

Reply via email to