<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: realpath.patch, wu-ftp Installation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047443#M743863</link>
    <description>&amp;gt; ok , so here is the content of the .patch&lt;BR /&gt;&amp;gt; file &lt;BR /&gt;&lt;BR /&gt;That's a start.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; the patch is in /tmp , from where i am&lt;BR /&gt;&amp;gt; trying to execute it.&lt;BR /&gt;&lt;BR /&gt;Great.  Now, if I knew what else was in that&lt;BR /&gt;directory, I might have a clue to what you're&lt;BR /&gt;doing.  (I asked all those questions for&lt;BR /&gt;_your_ benefit, not for mine.  The fewer you&lt;BR /&gt;answer, the less I can do.)&lt;BR /&gt;&lt;BR /&gt;Around here:&lt;BR /&gt;&lt;BR /&gt;dy# type patch&lt;BR /&gt;patch is hashed (/usr/bin/patch)&lt;BR /&gt;&lt;BR /&gt;dy# patch &amp;lt; ../realpath.patch&lt;BR /&gt;Hmm...  I can't seem to find a patch in there anywhere.&lt;BR /&gt;&lt;BR /&gt;dy# type gpatch&lt;BR /&gt;gpatch is hashed (/usr/local/bin/gpatch)&lt;BR /&gt;&lt;BR /&gt;dy# ls -l /usr/local/bin/gpatch&lt;BR /&gt;lrwxrwxrwx   1 root       sys              5 Jul 30 15:59 /usr/local/bin/gpatch -&amp;gt; patch&lt;BR /&gt;&lt;BR /&gt;dy# gpatch &amp;lt; ../realpath.patch&lt;BR /&gt;can't find file to patch at input line 8&lt;BR /&gt;Perhaps you should have used the -p or --strip option?&lt;BR /&gt;The text leading up to this was:&lt;BR /&gt;--------------------------&lt;BR /&gt;|A vulnerability has been found in the current versions of wu-ftpd, follow&lt;BR /&gt;|the links from &lt;A href="http://www.wu-ftpd.org/" target="_blank"&gt;http://www.wu-ftpd.org/&lt;/A&gt; for details.&lt;BR /&gt;|&lt;BR /&gt;|Included below is a patch for CAN-2003-0466 to be applied to wu-ftpd 2.6.2.&lt;BR /&gt;|&lt;BR /&gt;|--- src/realpath.c.orig        Mon Aug  4 11:20:19 2003&lt;BR /&gt;|+++ src/realpath.c     Mon Aug  4 11:23:22 2003&lt;BR /&gt;--------------------------&lt;BR /&gt;File to patch: src/realpath.c&lt;BR /&gt;patching file src/realpath.c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Apparently, you have a "unified context diff"&lt;BR /&gt;patch file, which requires a "patch" program&lt;BR /&gt;which can understand those.  The "patch"&lt;BR /&gt;supplied with HP-UX appears not to be such a&lt;BR /&gt;program, but GNU "patch" is.  (Why it made me&lt;BR /&gt;specify the "File to patch" is a mystery to&lt;BR /&gt;me, but many things are.)  It works about the&lt;BR /&gt;same for the other two recommended patches,&lt;BR /&gt;too.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.wu-ftpd.org/" target="_blank"&gt;http://www.wu-ftpd.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Have you tried using GNU "patch" instead of&lt;BR /&gt;&amp;gt; the "patch" which comes with HP-UX?&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;A href="http://www.gnu.org/software/patch/patch.html" target="_blank"&gt;http://www.gnu.org/software/patch/patch.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perhaps I _am_ psychic.&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Aug 2007 22:06:50 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2007-08-02T22:06:50Z</dc:date>
    <item>
      <title>realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047437#M743857</link>
      <description>I am running on HP-UX 11v2i and I want to install the wu-ftp 2.6.2 realpath.patch. However when issueing the command "patch - /patch path", I am propmted with " Hmm...  I can't seem to find a patch in there anywhere" and I am sure that the path is correct, can anybody help please,thanks in advance</description>
      <pubDate>Tue, 31 Jul 2007 18:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047437#M743857</guid>
      <dc:creator>Wissam Elassal</dc:creator>
      <dc:date>2007-07-31T18:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047438#M743858</link>
      <description>Anyone who can help you is more likely to be&lt;BR /&gt;reading the HP-UX forums than this Tru64&lt;BR /&gt;forum.&lt;BR /&gt;&lt;BR /&gt;What's in the ".patch" file?&lt;BR /&gt;&lt;BR /&gt;Does "patch - /patch path" make sense?&lt;BR /&gt;&lt;BR /&gt;Have you tried using GNU "patch" instead of&lt;BR /&gt;the "patch" which comes with HP-UX?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/patch/patch.html" target="_blank"&gt;http://www.gnu.org/software/patch/patch.html&lt;/A&gt;</description>
      <pubDate>Tue, 31 Jul 2007 21:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047438#M743858</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-07-31T21:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047439#M743859</link>
      <description>I ve also tried the cmd patch &amp;lt; /patchPath and it is always propmpting the same mesg. Thanks for your help</description>
      <pubDate>Wed, 01 Aug 2007 16:46:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047439#M743859</guid>
      <dc:creator>Wissam Elassal</dc:creator>
      <dc:date>2007-08-01T16:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047440#M743860</link>
      <description>&amp;gt; What's in the ".patch" file?&lt;BR /&gt;&lt;BR /&gt;I can't see what's in your patch file, and I&lt;BR /&gt;can't see which directory you're in, or&lt;BR /&gt;what's in that directory, or exactly what&lt;BR /&gt;your actual "patch" command is, or which&lt;BR /&gt;"patch" program you're using.  And I can't&lt;BR /&gt;read your mind at this distance.  Should I&lt;BR /&gt;call the psychic, or would you like to do it?&lt;BR /&gt;&lt;BR /&gt;Or, you could see if the people in the HP-UX&lt;BR /&gt;forum are better mind readers than I am.&lt;BR /&gt;(But I doubt that that will help.)</description>
      <pubDate>Thu, 02 Aug 2007 00:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047440#M743860</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-08-02T00:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047441#M743861</link>
      <description>This error message is in patch(1).  It is also in my copy of GNU patch.&lt;BR /&gt;&lt;BR /&gt;patch(1) does say:&lt;BR /&gt;The message ``Hmm...'' indicates that there is unprocessed text in the patch file and that patch is attempting to intuit whether there is a patch in that text and, if so, what kind of patch it is.&lt;BR /&gt;&lt;BR /&gt;You haven't exported UNIX95 have you??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2007 01:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047441#M743861</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-02T01:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047442#M743862</link>
      <description>ok , so here is the content of the .patch file &lt;BR /&gt;--- src/realpath.c.orig Mon Aug  4 11:20:19 2003&lt;BR /&gt;+++ src/realpath.c Mon Aug  4 11:23:22 2003&lt;BR /&gt;@@ -299,7 +299,7 @@&lt;BR /&gt;  rootd = 0;&lt;BR /&gt; &lt;BR /&gt;     if (*wbuf) {&lt;BR /&gt;- if (strlen(resolved) + strlen(wbuf) + rootd + 1 &amp;gt; MAXPATHLEN) {&lt;BR /&gt;+ if (strlen(resolved) + strlen(wbuf) + !rootd + 1 &amp;gt; MAXPATHLEN) {&lt;BR /&gt;      errno = ENAMETOOLONG;&lt;BR /&gt;      goto err1;&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;the patch is in /tmp , from where i am trying to execute it.</description>
      <pubDate>Thu, 02 Aug 2007 15:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047442#M743862</guid>
      <dc:creator>Wissam Elassal</dc:creator>
      <dc:date>2007-08-02T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047443#M743863</link>
      <description>&amp;gt; ok , so here is the content of the .patch&lt;BR /&gt;&amp;gt; file &lt;BR /&gt;&lt;BR /&gt;That's a start.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; the patch is in /tmp , from where i am&lt;BR /&gt;&amp;gt; trying to execute it.&lt;BR /&gt;&lt;BR /&gt;Great.  Now, if I knew what else was in that&lt;BR /&gt;directory, I might have a clue to what you're&lt;BR /&gt;doing.  (I asked all those questions for&lt;BR /&gt;_your_ benefit, not for mine.  The fewer you&lt;BR /&gt;answer, the less I can do.)&lt;BR /&gt;&lt;BR /&gt;Around here:&lt;BR /&gt;&lt;BR /&gt;dy# type patch&lt;BR /&gt;patch is hashed (/usr/bin/patch)&lt;BR /&gt;&lt;BR /&gt;dy# patch &amp;lt; ../realpath.patch&lt;BR /&gt;Hmm...  I can't seem to find a patch in there anywhere.&lt;BR /&gt;&lt;BR /&gt;dy# type gpatch&lt;BR /&gt;gpatch is hashed (/usr/local/bin/gpatch)&lt;BR /&gt;&lt;BR /&gt;dy# ls -l /usr/local/bin/gpatch&lt;BR /&gt;lrwxrwxrwx   1 root       sys              5 Jul 30 15:59 /usr/local/bin/gpatch -&amp;gt; patch&lt;BR /&gt;&lt;BR /&gt;dy# gpatch &amp;lt; ../realpath.patch&lt;BR /&gt;can't find file to patch at input line 8&lt;BR /&gt;Perhaps you should have used the -p or --strip option?&lt;BR /&gt;The text leading up to this was:&lt;BR /&gt;--------------------------&lt;BR /&gt;|A vulnerability has been found in the current versions of wu-ftpd, follow&lt;BR /&gt;|the links from &lt;A href="http://www.wu-ftpd.org/" target="_blank"&gt;http://www.wu-ftpd.org/&lt;/A&gt; for details.&lt;BR /&gt;|&lt;BR /&gt;|Included below is a patch for CAN-2003-0466 to be applied to wu-ftpd 2.6.2.&lt;BR /&gt;|&lt;BR /&gt;|--- src/realpath.c.orig        Mon Aug  4 11:20:19 2003&lt;BR /&gt;|+++ src/realpath.c     Mon Aug  4 11:23:22 2003&lt;BR /&gt;--------------------------&lt;BR /&gt;File to patch: src/realpath.c&lt;BR /&gt;patching file src/realpath.c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Apparently, you have a "unified context diff"&lt;BR /&gt;patch file, which requires a "patch" program&lt;BR /&gt;which can understand those.  The "patch"&lt;BR /&gt;supplied with HP-UX appears not to be such a&lt;BR /&gt;program, but GNU "patch" is.  (Why it made me&lt;BR /&gt;specify the "File to patch" is a mystery to&lt;BR /&gt;me, but many things are.)  It works about the&lt;BR /&gt;same for the other two recommended patches,&lt;BR /&gt;too.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.wu-ftpd.org/" target="_blank"&gt;http://www.wu-ftpd.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Have you tried using GNU "patch" instead of&lt;BR /&gt;&amp;gt; the "patch" which comes with HP-UX?&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; &lt;A href="http://www.gnu.org/software/patch/patch.html" target="_blank"&gt;http://www.gnu.org/software/patch/patch.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perhaps I _am_ psychic.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2007 22:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047443#M743863</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-08-02T22:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047444#M743864</link>
      <description>&lt;!--!*#--&gt;&amp;gt;so here is the content of the .patch file&lt;BR /&gt;&lt;BR /&gt;You will have to attach the file since it gets corrupted if you don't retain the format.&lt;BR /&gt;&lt;BR /&gt;When I changed it to look like this, it worked:&lt;BR /&gt;*** src/realpath.c      Thu Aug  2 14:48:58 2007&lt;BR /&gt;--- src/realpath.c.new  Thu Aug  2 14:50:12 2007&lt;BR /&gt;***************&lt;BR /&gt;*** 1,7 ****&lt;BR /&gt;  rootd = 0;&lt;BR /&gt;&lt;BR /&gt;  if (*wbuf) {&lt;BR /&gt;! if (strlen(resolved) + strlen(wbuf) + rootd + 1 &amp;gt; MAXPATHLEN) {&lt;BR /&gt;  errno = ENAMETOOLONG;&lt;BR /&gt;  goto err1;&lt;BR /&gt;  }&lt;BR /&gt;--- 1,7 ----&lt;BR /&gt;  rootd = 0;&lt;BR /&gt;&lt;BR /&gt;  if (*wbuf) {&lt;BR /&gt;! if (strlen(resolved) + strlen(wbuf) + !rootd + 1 &amp;gt; MAXPATHLEN) {&lt;BR /&gt;  errno = ENAMETOOLONG;&lt;BR /&gt;  goto err1;&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;Using my GNU patch didn't like what I thought the original patch file should be:&lt;BR /&gt;patch: **** Only garbage was found in the patch input.</description>
      <pubDate>Fri, 03 Aug 2007 01:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047444#M743864</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-03T01:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: realpath.patch, wu-ftp Installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047445#M743865</link>
      <description>&amp;gt; You will have to attach the file [...]&lt;BR /&gt;&lt;BR /&gt;Use the source, Luke:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.wu-ftpd.org/" target="_blank"&gt;http://www.wu-ftpd.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/realpath.patch" target="_blank"&gt;ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/realpath.patch&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/" target="_blank"&gt;ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The wu-ftpd.org server was dead for a while,&lt;BR /&gt;but it seems to be alive again, now.</description>
      <pubDate>Fri, 03 Aug 2007 01:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/realpath-patch-wu-ftp-installation/m-p/4047445#M743865</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-08-03T01:58:25Z</dc:date>
    </item>
  </channel>
</rss>

