From owner-svn-src-stable@freebsd.org Mon Nov 11 09:29:29 2019 Return-Path: Delivered-To: svn-src-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6CF11B072F; Mon, 11 Nov 2019 09:29:29 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47BQZ06MYrz3xyK; Mon, 11 Nov 2019 09:29:28 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-qt1-f194.google.com with SMTP id r20so888133qtp.13; Mon, 11 Nov 2019 01:29:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6Umj3DYIUrQePS0aA10Xg7RaNEUwtLfhL4xLeOWVpkM=; b=uf/xSViDWPpesM2vE33VO+chymzgH9YBZKheP2GJV8NHuihuSIX0MZMNOWeWeso4vC aQFYsH9s41wf2NKaDs7Ujy/JwOTtFTLODCN+zyBemjR8iiGbNeIyOojAD+dGEaDwl1Lq JRJHKizerX4QT9kFMV1pjvhH/6zGnBnkvToUuGbd+SMqEBjAR/aiLw+4B8MPCCNS1AjK OPdNChKWBIqeUuFXFghFwcBOVQPrG39nSea9Zlc0ChUjWN9qy8jls3M3ZmHUph6awpHJ e+LEqwjl58JYkyLayamTAHLcZTcRbyOgYRhClxxmfBUHUxIJzskJGqZtuY4xbO/NaMiY gM6w== X-Gm-Message-State: APjAAAWr/I+pYoLMfS0xcBtgHT1dfoiR3zRyFgPWk61mQCUpR+xTyRT6 ocYYtyi/JCqAB2l4FCglzqc0dx4uh2sYywu6v32zOg== X-Google-Smtp-Source: APXvYqwJPDDr+gYd7yXVniZarYwSkmRIOEZ/uLZzhj0BZragQ5tL24JlFLGZ6E9B+MFPsNEixjOGdWm6YtSqgVIcmVA= X-Received: by 2002:ac8:6944:: with SMTP id n4mr25405815qtr.360.1573464567103; Mon, 11 Nov 2019 01:29:27 -0800 (PST) MIME-Version: 1.0 References: <201911101841.xAAIfEXV088995@repo.freebsd.org> In-Reply-To: From: Antoine Brodin Date: Mon, 11 Nov 2019 10:29:15 +0100 Message-ID: Subject: Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys To: Dimitry Andric Cc: src-committers , svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47BQZ06MYrz3xyK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of antoinebrodinfreebsd@gmail.com designates 209.85.160.194 as permitted sender) smtp.mailfrom=antoinebrodinfreebsd@gmail.com X-Spamd-Result: default: False [-4.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_GOOD(0.00)[194.160.85.209.rep.mailspike.net : 127.0.0.18]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.04)[ip: (-4.96), ipnet: 209.85.128.0/17(-3.19), asn: 15169(-2.00), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[194.160.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 09:29:29 -0000 On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: > > On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > > > > Author: dim > > Date: Sun Nov 10 18:41:13 2019 > > New Revision: 354598 > > URL: https://svnweb.freebsd.org/changeset/base/354598 > > > > Log: > > MFC r354460: > > > > Merge commit e8316372b from llvm git (by Louis Dionne): > > > > [libc++] Add `__truncating_cast` for safely casting float types to > > integers > > > > This is needed anytime we need to clamp an arbitrary floating point > > value to an integer type. > > > > Thanks to Eric Fiselier for the patch. > > > > Differential Revision: https://reviews.llvm.org/D66836 > > > > llvm-svn: 370891 > > > > Merge commit b92deded8 from llvm git (by Louis Dionne): > > > > [libc++] Move __clamp_to_integral to , and harden against > > min()/max() macros > > > > llvm-svn: 370900 > > > > Merge commit 0ec6a4882 from llvm git (by Louis Dionne): > > > > [libc++] Fix potential OOB in poisson_distribution > > > > See details in the original Chromium bug report: > > https://bugs.chromium.org/p/chromium/issues/detail?id=994957 > > > > Together, these fix a security issue in libc++'s implementation of > > std::poisson_distribution, which can be exploited to read data which is > > out of bounds. > > > > Note there are no programs in the FreeBSD base system that use > > std::poisson_distribution, so this is only a possible issue for ports > > and external programs which have been built against libc++. Therefore, > > I am bumping __FreeBSD_version for the benefit of our port maintainers. > > > > Requested by: emaste > > Security: potential OOB read > > > > Modified: > > stable/11/contrib/libc++/include/cmath > > stable/11/contrib/libc++/include/random > > stable/11/sys/sys/param.h > > Directory Properties: > > stable/11/ (props changed) > > > > Changes in other areas also in this revision: > > Modified: > > stable/12/contrib/libc++/include/cmath > > stable/12/contrib/libc++/include/random > > stable/12/sys/sys/param.h > > Directory Properties: > > stable/12/ (props changed) > > Hi, > > It seems that some recent changes to stable/11 are broken, lots of > ports now fail to build on stable/11. This affects stable/12 too. It seems that the cmath header can't be compiled. Antoine