| delorie.com/archives/browse.cgi | search |
| 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=kEr3XI3XaPpwbkracXIWSu/y9tI7pqp2dwhGJ6SNEhGjGnCwyTeij | |
| FEu+F8tWpruZ1OANStUKvXVAzTF1jfiIN+pajABht/tz+B6JRmUTnFPTuC+Nfr3n | |
| KW7OXIft/tBdCgJDftWd0Ol5ESYzSkmff2jzRAMdF6o9ebMU4ctBJo= | |
| 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=lVtVT8bYyqJ76oSFL8c1tmWKk8w=; b=YEF3PWEjioZJw8Vx1bMze5zgc1lB | |
| gsnrXaoQ8xynfysIPKjwGyBtLh+4PforyjelSApX+zUb6Q5NBLxFHcMloS7sxoEF | |
| lfaTqTbZ8nNJNZisXCMk6Q9fw7cM/2xQpTijeq5Xx9c0UIss20zD2whkLfjSDuWH | |
| qtmuzH7cud1Irxw= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| Authentication-Results: | sourceware.org; auth=none |
| X-Spam-SWARE-Status: | No, score=-101.4 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=delegate, scars, attack, actions |
| X-HELO: | mout.kundenserver.de |
| Date: | Fri, 7 Sep 2018 20:20:28 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Cygwin fails to utilize Unicode replacement character |
| Message-ID: | <20180907182028.GW6350@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <20180905201459 DOT GN6350 AT calimero DOT vinschen DOT de> <5b90846c DOT 1c69fb81 DOT 6a017 DOT cddb AT mx DOT google DOT com> <20180906070117 DOT GO6350 AT calimero DOT vinschen DOT de> <20180907081715 DOT GQ6350 AT calimero DOT vinschen DOT de> <cacb0e82-5498-e703-4d88-17d25e8a126c AT towo DOT net> <20180907112926 DOT GT6350 AT calimero DOT vinschen DOT de> <02a2ad5c-21c5-fce9-5956-a907aa0927fd AT towo DOT net> <eb9947a5-cc85-1d3a-6412-a0c83176d5cc AT towo DOT net> <20180907115449 DOT GU6350 AT calimero DOT vinschen DOT de> <1b170781-d54d-1d71-689d-e2efb4aed9cb AT SystematicSw DOT ab DOT ca> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <1b170781-d54d-1d71-689d-e2efb4aed9cb@SystematicSw.ab.ca> |
| User-Agent: | Mutt/1.9.2 (2017-12-15) |
--OXqTiZo38oDXuAlq
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sep 7 10:48, Brian Inglis wrote:
> On 2018-09-07 05:54, Corinna Vinschen wrote:
> > On Sep 7 13:51, Thomas Wolff wrote:
> >> On 07.09.2018 13:41, Thomas Wolff wrote:
> >>> On 07.09.2018 13:29, Corinna Vinschen wrote:
> >>>> On Sep 7 12:34, Thomas Wolff wrote:
> >>>>> On 07.09.2018 10:17, Corinna Vinschen wrote:
> >>>>>> On Sep 6 09:01, Corinna Vinschen wrote:
> >>>>>>> https://cygwin.com/ml/cygwin-cvs/2018-q3/msg00054.html
> >>>>>> I created new developer snapshots for testing. Please give the la=
test fromhttps://cygwin.com/snapshots/ a try.
> >>>>> Raster Fonts: output of invalid encoding hangs cygwin...
> >>>>>> This will be my last action for the next 4 weeks though. I'll be
> >>>>>> back in October.
> >>>> Looks like s/ANSI_CHARSET/DEFAULT_CHARSET/ does the trick
> >>> Without this change, lf.lfFaceName is "T" when entering the do...while
> >>> loop.
> >> No, sorry, it's "Terminal" initially and then shortened down to "T" by=
one
> >> char each in the loop.
> >>> What's the purpose of this nested loop (do...while and EnumFontFamili=
es)
> >>> anyway?
> > The loop is handling the weird DejaVu Sans Mono behaviour I explained
> > in previous mail.
>=20
> Garbage in font name from uninit struct on stack?
> Before call bzero/memset/implicit:
>=20
> - CONSOLE_FONT_INFOEX cfi;
> + CONSOLE_FONT_INFOEX cfi =3D { 0 };
No, that doesn't help. Do you really think I didn't try this? Think
about it. The string returned by GetCurrentConsoleFontEx is supposed to
be \0-terminated. If the \0 follows *after* the stray characters, where
would they come from if not created by the GetCurrentConsoleFontEx
function itself?
> and remove loop, which opens an attack vector by renaming a good font
> and substituting one with a shorter name, or could cause problems by
> using the wrong font e.g DejaVu Sans.
How so?
> You need to self-impose a change freeze before heading out, once you're in
> "stuff to get done before leaving" mode, which may be a day or up to a we=
ek, you
> delegate or postpone decisions and actions until you return: BTDTGTS (Got=
The
> Scars) ;^>
I hear you.
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--OXqTiZo38oDXuAlq
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluSwWwACgkQ9TYGna5E
T6DJGw//YISvbKKrEwwfNYL814UVNXAt1k5WQ6ZUlF3K5YT3tkyviN2tSCyP3QlX
k1BY2/31G2eSUv0lGAnnwJObWRZ0UeZ5vIrD+wS4QFZRv2XtoRHX3j8vngIS7fqi
6X5fAz4BriHouqFVYaID4jrvPt7PRrtABEGUnAjy3AVZ12/MkCPI96hl++VZphkt
rvB/KWT+egBhBTAo2G3IcUiRsacW2YjPnHLDJuzjURf3PAfF5cBzJuS+yNCevzIp
D/eWXMf77TiD4YraQLVecRyzLjmnFJZeRIbHDB4J0bOlCnNUqj9yFu908CyMmJMV
4OhUq8r8Kw2YlryqIHpBGpF9btd92mkJoW5XLD8BYNZsvGhUcBf7wDFSsZ6CDYAI
yr1hXAartkigT3ew7GaFiMTKveoH/sH3pMfJL07KML4p87oHXQodF90bTrzwvaVl
9dNurNonknB5keBlAYUyhes+SZXyY6PA3b8F+iLoBHhv4WpKBgJHeyRnt/HHEsbu
PlMGrNXBcpYfAdbnZnsKpvYZ+d+Xxg7A6ypCSqqn+L9JHXo3jqKnJ6maW7JW5PDj
VJtdv2zcpQJyQ43GjL4rQhdxA1yKJ3cY354o7xj/483VzAgGmfArFbZuGhoY8QPz
I8o3crj3Uf65ZIRARNJ20m1AaRMrZRw5/bS8omy/QlxcDEfbyQM=
=Kxec
-----END PGP SIGNATURE-----
--OXqTiZo38oDXuAlq--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |