X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=GRRajGGeEgHUCOU0yM134CJA98w7nX/KW1cNNeTNx/9xXZ1s6SeFh P6f77RhjVGhGNW1xdQhg3opV14chu04RI2ngvrof4PVjIyRK2j+b+Hfch+Baz5fT Rigk2DOSH2byFCzKFWZ4+ewqg73xqfpFX7PAf8gCmAYkZ9Nhs/Bl6Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=+Vw7FOzkLkyI6sl3pdWfl6kAMS8=; b=jV9dHyOcq6aI85xrGXiG7aqE+Ln4 2AotldzLFcr2gnBgFhAv9rhkprOa+wGKn63eNq9Ii6TYWddOwu+PEnL/oFcbQ1Km bi8VsquvR2t3hdVmTjIFFBL0TTZynMp5rd9CQHmlp6iapo5jycvFpChFkK3bdSsK GIS6OIB//r51doo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,TW_YG autolearn=ham version=3.3.1 Date: Wed, 19 Jun 2013 19:21:59 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: getclip and cygutils and cygcheck Message-ID: <20130619172159.GC1620@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0D835E9B9CD07F40A48423F80D3B5A7021C57FB3 AT USA7109MB022 DOT na DOT xerox DOT net> <0D835E9B9CD07F40A48423F80D3B5A7021C58055 AT USA7109MB022 DOT na DOT xerox DOT net> <51B8D19B DOT 7080400 AT towo DOT net> <20130613095556 DOT GA21638 AT calimero DOT vinschen DOT de> <20130614091553 DOT GC4087 AT calimero DOT vinschen DOT de> <20130617101633 DOT GC21191 AT calimero DOT vinschen DOT de> <20130617125447 DOT GG21191 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130617125447.GG21191@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Jun 17 14:54, Corinna Vinschen wrote: > On Jun 17 12:16, Corinna Vinschen wrote: > > On Jun 14 23:15, Jeremy Hetzler wrote: > > > After some testing, the limit seems to be 64k. It only happens when > > > reading data that was copied to the clipboard by a Windows program (in > > > this case Excel). > > > [...] > > > 583 $ cat /dev/clipboard >out.cat > > > cat: /dev/clipboard: Bad address > > > [...] > > > Does that help? > > > > Yes, thank you. There was an ill-conceived check for the last character > > in the buffer being a high surrogate UTF-16 character. It worked only > > if the clipboard content was small enough to fit into a single read of > > the application. If it was too big, and the application had to call > > read again to fetch more from the clipboard, it tried to read the > > character beyond the array boundary. I fixed that in CVS. I'll probably > > create a new developer snapshot and a 64 bit test version later today. > > FYI, I'm just uploading a new developer snapshot 2013-06-17 to > http://cygwin.com/snapshots/, as well as a new 64 bit Cygwin test > release 1.7.21-4. Please give one of them a try. Guys? Ping? Any testers? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple