220 40239 <CAFdMc-0NqfbqeOhhH1YiVGxDRVPv7COKNqge3mLu8UE8SgcXNw@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Daniel Gutson <danielgutson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: more security concerns
Date: Fri, 28 Sep 2018 08:13:53 -0300
Lines: 71
Approved: news@gmane.org
Message-ID: <CAFdMc-0NqfbqeOhhH1YiVGxDRVPv7COKNqge3mLu8UE8SgcXNw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000ac260d0576ec8de4"
X-Trace: blaine.gmane.org 1538133123 11640 195.159.176.226 (28 Sep 2018 11:12:03 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 28 Sep 2018 11:12:03 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDE3NBMV6UFBB7MZXDOQKGQEMX3WUZY@isocpp.org Fri Sep 28 13:11:59 2018
Return-path: <std-proposals+bncBDE3NBMV6UFBB7MZXDOQKGQEMX3WUZY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lj1-f199.google.com ([209.85.208.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDE3NBMV6UFBB7MZXDOQKGQEMX3WUZY@isocpp.org>)
	id 1g5qgd-0002rT-PB
	for gclcip-std-proposals@m.gmane.org; Fri, 28 Sep 2018 13:11:55 +0200
Original-Received: by mail-lj1-f199.google.com with SMTP id l11-v6sf1361400ljb.2
        for <gclcip-std-proposals@m.gmane.org>; Fri, 28 Sep 2018 04:14:06 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1538133246; cv=pass;
        d=google.com; s=arc-20160816;
        b=g0gHK9fenxr4mk9YP3KwAJDz7tMFbNcsZaYZkJLBsj7s2lHBuJX6O+ytJY6CJ7CejM
         mpCrS630lxtYK0hzrkCHejkkaapKEbd5bqlrlQHXZcfrSXI1avG/z4cQIWY+dMulzCao
         IzatBcY3fv/0yl5L9Hmt16w2dDKwRJ7RDiOuV40Ye1oQK089XPFwOGPHleVwzWRT4lWM
         uOCGUBZCkhA1JE6voT1MZwxbTqbkayEBzrVfiR5XuVrKJL1HuhdGY3L/OLopy1Qp89mM
         /Ovca1hUKRBXkQktnMvyGLb2zzCvQowr/4PaNE3SdhJfJxdOzwxrDk8Bjy0QHXhPea1O
         i2gQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:mime-version:dkim-signature;
        bh=yFNVkgtsbBPbvS8CiYtLEl7Xs1jpVzHpFwEk0uGt1aI=;
        b=0AzZtvbxwIczdSDwXWkifwoJGmKkxSwRTbpRSvPhSpPc8GVAgx/TIOszO+08iaKF4S
         gK4n+0clGo6uFcZdhna/TL/SiFi7IKbrZ4Hv5UZ6gL4H0BCRDrmWSsvQIXy1Vh6zN2xX
         CmcVMXWKDjr/V9M5zcLU9kiXVEZTZiA8Rw4NIvmHJLBi8xmhekD+r97Eb9rlEiF7b0eC
         89Hx8SASqryiR0PZVwvJQsz9KZdaDslg3thDwMW+tN2RD3fnwXAaUu5dGZQ3tj5kty0e
         w+5sRVmwGONgbxEu6NAftNfnmmTW9aIdXcuIGPQ7ZSnBRErphdx+mSADuG4M1tbpmB9e
         B9oQ==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=YWWXYBLX;
       spf=pass (google.com: domain of danielgutson@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=danielgutson@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:from:date:message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=yFNVkgtsbBPbvS8CiYtLEl7Xs1jpVzHpFwEk0uGt1aI=;
        b=NTzjSbwMWd3jx4IQAOiIS4e5pltlr1qkijOpv3AT7/u6udLfbuaW8jf3uHL6/WrPx2
         iCl4oxXQhUqmHy6LHO5Z4W4KP+QvLAaKDhQuV38GxvsFn6TMy0qCkioqOsifqEvFLAIU
         hGvM2LNS5Z/KirHE3nYVQm1doLBTOumwHYl/7oKJuUQW/E/DEfXtz/Be1Ib20x83brLH
         Ip7e33S5Xy/ngUfvDtz+DGnR05BC06ZEZg0zwuOs3ZWJ7Rsr54WdlTreFBgFf/4PsGqh
         eFFmJ+8r64HOiv+eYIJ6h4frxunVBgGc+rc8FzZjD9xjzGsOipHEhzRWHQZOigjfDG67
         UB7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=yFNVkgtsbBPbvS8CiYtLEl7Xs1jpVzHpFwEk0uGt1aI=;
        b=jg7zD5ukqdyDDLt3fma+QxAe5OrMFjfjxq5ZGCiUW3P5cmly9ERHKujaRRWEnMLtg1
         bRU2vBRYSTFhkkkKdD/gql/tUSbzjoD0QmFfg2/oHCjj/yExcjyJxVpQuk39ePPS1BK9
         wrsDmZdiiArrwkct26gtXVhbTwJsn+fNKG4MAsl6MkoMqs6FLzHNIO6eys87icMeTyzX
         K2cZurtKiU9Zu8YSD+UnHDO0S106BU0F7C89IZUUhYNk8tInA9w/GksVtbQUoNEIRm+l
         nLdctfHvIvElPEHLk+Es50QXhhxHdL3o/3Gwtq2KLovS9Gqnn2xeraO5COxP1l9+IDGR
         +4qA==
X-Gm-Message-State: ABuFfojvFxelj0O27Wmx03Q43K9xlAu6JF2QUWjPIfjed13WOhyas8tt
	oRjqEWQLIYCioPHakm8FEjE+jQ==
X-Google-Smtp-Source: ACcGV63SFfaLq7u6J5xdgkqQC4DJaJGZwrtiGDSBe8ffGqO5mXYrU7mWx6xhATDAvTYT0chFcxyIew==
X-Received: by 2002:a2e:5d10:: with SMTP id r16-v6mr61641ljb.17.1538133246457;
        Fri, 28 Sep 2018 04:14:06 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a19:161c:: with SMTP id m28-v6ls665477lfi.22.gmail; Fri, 28
 Sep 2018 04:14:05 -0700 (PDT)
X-Received: by 2002:a19:a2c1:: with SMTP id l184-v6mr10039470lfe.33.1538133245415;
        Fri, 28 Sep 2018 04:14:05 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1538133245; cv=none;
        d=google.com; s=arc-20160816;
        b=YR5mHiQ7gzqTfSaEJszwVnxFCaS4Ta2YPcTBS7jZffEFCAv4WewrbE3P+2ucXGhMRQ
         Hh3nWb67IwUahyFZjXCx/EQa/i5RhPH9i5Et+FVWou/yiWW+6iMNZ7Vu4gL1q/ODigFN
         lOOtgSANqjmPuLC+UUvrPrmTnIgC9u5DyZMGn9iwd8gGsX+9Y+RbQ4c/FLNsaSrKNGpi
         zyeurFfqpnVP457PLL6bbDnFbsziIyI58lt0/MN0hi0K8kV3F13ndip1PIRDM2d3+Cpx
         T8Qis9zxcOwFkQ5G0rX+HZONpRv/dsMlVjNp2e1O5wMZeZO14LIsO4d15yqdBTK88Gcv
         JHBQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:mime-version:dkim-signature;
        bh=FTDQOxbkPcoJPCYTqxlMsNIJHoJLdMH5ODT1znzjvzI=;
        b=o0b8pjcmuXlpRYZzEg2QBUuM3L2asYTrU+HRvhAQSmM4JKxmBo/T/N0MgLXOLCgsN9
         qi1SRIOfsjNiapLgvQ1nRHRKpJ/ZKbf0j0ud2EEf2SmNzlVebZYlqKY+eVow6PAtR13g
         idOWbRTBmIJqIpa9/6Rhp/+mgr3LeGRaWMesAYJo3aabG6gbOrVg1LPL5fD2JDsPF2rz
         IBolfKL/l0A0tyb/4udnTsCnZ05BXqoW2Xr4/OtWxI6EcNNE1Ur7hdSGentLEObsBw+9
         hTxryviWjrgUF2h8PFhsNng1n3T8Cyj5xXfvGCqrwbVJsffzhecKDfVldP2L380Ix27C
         +2KQ==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=YWWXYBLX;
       spf=pass (google.com: domain of danielgutson@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=danielgutson@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id r21-v6sor2003403lff.43.2018.09.28.04.14.05
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Fri, 28 Sep 2018 04:14:05 -0700 (PDT)
Received-SPF: pass (google.com: domain of danielgutson@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a19:ef05:: with SMTP id n5-v6mr7911794lfh.21.1538133244780;
 Fri, 28 Sep 2018 04:14:04 -0700 (PDT)
X-Original-Sender: danielgutson@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=YWWXYBLX;       spf=pass
 (google.com: domain of danielgutson@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=danielgutson@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:40239
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40239>

--000000000000ac260d0576ec8de4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Again, on the DSE related optimizations.

I'm at the Ekoparty where I will show a presentation about security
vulnerabilities caused by compiler optimizations. The subject is more and
more serious (e.g. [1]).

I want to propose to allow [[nodiscard]] in individual expressions, such as
calls to memset(), std::fill_n, and assignments (DSE happens with both
memory and registers).

Ideas? Co-authors?

--=20
Who=E2=80=99s got the sweetest disposition?
One guess, that=E2=80=99s who?
Who=E2=80=99d never, ever start an argument?
Who never shows a bit of temperament?
Who's never wrong but always right?
Who'd never dream of starting a fight?
Who get stuck with all the bad luck?

--=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/CAFdMc-0NqfbqeOhhH1YiVGxDRVPv7COKNqge3mLu8UE8Sgc=
XNw%40mail.gmail.com.

--000000000000ac260d0576ec8de4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Again, on the DSE related optimizations.<div><br></div><di=
v>I&#39;m at the Ekoparty where I will show a presentation about security v=
ulnerabilities caused by compiler optimizations. The subject is more and mo=
re serious (e.g. [1]).</div><div><br></div><div>I want to propose to allow =
[[nodiscard]] in individual expressions, such as calls to memset(), std::fi=
ll_n, and assignments (DSE happens with both memory and registers).</div><d=
iv><br></div><div>Ideas? Co-authors?=C2=A0<br clear=3D"all"><div><br></div>=
-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_s=
ignature">Who=E2=80=99s got the sweetest disposition?<br>One guess, that=E2=
=80=99s who?<br>Who=E2=80=99d never, ever start an argument?<br>Who never s=
hows a bit of temperament?<br>Who&#39;s never wrong but always right?<br>Wh=
o&#39;d never dream of starting a fight?<br>Who get stuck with all the bad =
luck? </div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAFdMc-0NqfbqeOhhH1YiVGxDRVPv7COKNqge=
3mLu8UE8SgcXNw%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAFdMc-0NqfbqeOhh=
H1YiVGxDRVPv7COKNqge3mLu8UE8SgcXNw%40mail.gmail.com</a>.<br />

--000000000000ac260d0576ec8de4--

.
