help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: if vs. when vs. and: style question


From: Rusi
Subject: Re: if vs. when vs. and: style question
Date: Thu, 26 Mar 2015 06:00:47 -0700 (PDT)
User-agent: G2/1.0

On Thursday, March 26, 2015 at 3:31:59 PM UTC+5:30, Gian Uberto Lauri wrote:
> Rusi writes:
> 
>  > Its worse than just 'misread' giving bugs:
>  > https://en.wikipedia.org/wiki/IDN_homograph_attack
> 
> This is interesting, but could be solved (for the misread part) at the
> lexical analyzer level of a compiler/interpreter, i.e. refusing
> strings that contain strings with character that do not belong to the
> same (human) alphabet.

I guess its important to distinguish two quite different kinds of problem:
a. Stupidity/Carelessness  ⇒  Shoot oneself in foot
b. Malice, Ill-intent, aka criminality

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (setq к 0)
0 (#o0, #x0, ?\C-@)
ELISP> k
*** Eval error ***  Symbol's value as variable is void: k
ELISP> 

[May or may not be obvious depending on fonts that one k is latin the other is
cyrillic ]

Now with at least aehkoptxy being present in Latin and Cyrillic,
just as someone can spoof URLs, probably someone can introduce subtle
'viruses' into source code


reply via email to

[Prev in Thread] Current Thread [Next in Thread]