| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Fri, 24 Jan 2003 10:52:31 -0500 |
| From: | Christopher Faylor <cgf AT redhat DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cygpath bug converting really long filenames |
| Message-ID: | <20030124155231.GH8500@redhat.com> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <uadhqpt63 DOT fsf AT virtutech DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <uadhqpt63.fsf@virtutech.com> |
| User-Agent: | Mutt/1.5.1i |
On Fri, Jan 24, 2003 at 02:35:16PM +0100, Jesper Eskilson wrote: > >Hi! > >The attached shell-script causes cygpath to malfunction by trying to >convert a long string of z:s using 'cygpath -w'. It begins by trying "z", >then "zz", and so on. > >When trying more than 240 z:s, the result becomes garbled. For example: > >246 zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz????NTFS > >and at 249 z:s cygpath fails and says "error converting ...". > >Smells like a buffer overrun somewhere. It's easy to test your olfactory insight by checking the code. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |