Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 02:32:21 -0500
From:      "default013 - subscriptions" <default013subscriptions@hotmail.com>
To:        <freebsd-security@freebsd.org>
Subject:   question about glob patch (ftp exploit)
Message-ID:  <OE37JkhYUjACRSRRseC00000e8d@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi again,

(thanks for the help with the last one, one more... :)

Okay, I attempted to setup the patch for the glob ftp exploit and it failed
when I tried to make/install it... I got various responses regarding why
this happened, and the one that makes the most sense to me is that it will
probably work if I just make buildworld instead.

My question is... I am on a FreeBSD 4.1 box... does the output of this
patching look normal? I would have assumed it to patch a bit cleaner... I'm
just a little afraid that maybe the patch didn't take right for some
reason... (I did follow the current instructions from the security advisory.
Thanks again.

[/usr/src]# patch -p < /usr/home/default/patches/glob.4.x.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: include/glob.h
|===================================================================
|RCS file: /home/ncvs/src/include/glob.h,v
|--- include/glob.h     1998/02/25 02:15:59     1.3
|+++ include/glob.h     2001/03/21 14:33:56     1.3.6.1
--------------------------
Patching file include/glob.h using Plan A...
Hunk #1 succeeded at 77.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: lib/libc/gen/glob.c
|===================================================================
|RCS file: /home/ncvs/src/lib/libc/gen/glob.c,v
|--- lib/libc/gen/glob.c        1998/02/20 07:54:56     1.11
|+++ lib/libc/gen/glob.c        2001/04/07 21:00:20
--------------------------
Patching file lib/libc/gen/glob.c using Plan A...
Hunk #1 succeeded at 129.
Hunk #2 succeeded at 137.
Hunk #3 succeeded at 158.
Hunk #4 succeeded at 168.
Hunk #5 succeeded at 197.
Hunk #6 succeeded at 207.
Hunk #7 succeeded at 233.
Hunk #8 succeeded at 274.
Hunk #9 succeeded at 321.
Hunk #10 succeeded at 415.
Hunk #11 succeeded at 480.
Hunk #12 succeeded at 493.
Hunk #13 succeeded at 508.
Hunk #14 succeeded at 528.
Hunk #15 succeeded at 552.
Hunk #16 succeeded at 567.
Hunk #17 succeeded at 606.
Hunk #18 succeeded at 636.
Hunk #19 succeeded at 674.
Hunk #20 succeeded at 710.
Hunk #21 succeeded at 791.
Hunk #22 succeeded at 804.
Hunk #23 succeeded at 823.
Hunk #24 succeeded at 840.
Hunk #25 succeeded at 860.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: libexec/ftpd/popen.c
|===================================================================
|RCS file: /home/ncvs/src/libexec/ftpd/popen.c,v
|--- libexec/ftpd/popen.c       2000/09/20 09:57:58     1.18.2.1
|+++ libexec/ftpd/popen.c       2001/04/07 21:08:09
--------------------------
Patching file libexec/ftpd/popen.c using Plan A...
Hunk #1 succeeded at 107.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /home/ncvs/src/libexec/ftpd/ftpd.c,v
|--- libexec/ftpd/ftpd.c        2001/03/11 13:20:44     1.73
|+++ libexec/ftpd/ftpd.c        2001/03/19 19:11:00
--------------------------
Patching file libexec/ftpd/ftpd.c using Plan A...
Hunk #1 succeeded at 186 (offset -3 lines).
Hunk #2 succeeded at 2611 (offset -17 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /home/ncvs/src/libexec/ftpd/ftpcmd.y,v
|--- libexec/ftpd/ftpcmd.y      2001/04/16 22:20:26     1.23
|+++ libexec/ftpd/ftpcmd.y      2001/04/17 03:03:45
--------------------------
Patching file libexec/ftpd/ftpcmd.y using Plan A...
Hunk #1 succeeded at 133 with fuzz 2 (offset -5 lines).
Hunk #2 succeeded at 461 (offset -14 lines).
Hunk #3 succeeded at 910 (offset -31 lines).
Hunk #4 succeeded at 1008 (offset -33 lines).
done

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE37JkhYUjACRSRRseC00000e8d>