From owner-freebsd-virtualization@freebsd.org Tue Oct 8 20:52:15 2019 Return-Path: Delivered-To: freebsd-virtualization@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 54AE8136928 for ; Tue, 8 Oct 2019 20:52:15 +0000 (UTC) (envelope-from barulheira@gmail.com) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 46nqKT0J4Rz4Vdg for ; Tue, 8 Oct 2019 20:52:12 +0000 (UTC) (envelope-from barulheira@gmail.com) Received: by mail-qt1-x830.google.com with SMTP id n7so209096qtb.6 for ; Tue, 08 Oct 2019 13:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=9B9GDRKNwjwIN/Cf/1UQBweYTwau3iraitWh2DMCMVM=; b=lSFzNtxKulRiv7sa3o7W9W6wsaa/hhXGtdmR7m5n0Gof9v2PYnHWM94h5VkT8EgvxQ Bf8EfrRgCZdtA41xos2qxHuye3O13ImKZUX1HAIxK69WJ/iM/YUvPEozICd49PjkJ3AA 77Dpqh1+5j5Ak4FgPobLZ8nfftr6tttZOY4b9HEmMG9tnnLx7xCSgFkW5++YYRO58jgw vnKnL7DBzkQ9zvmLSIqq7YEhBsxEETucAMCZXyHiQc7RU32yfYhtdwShL6pFnev7hr/N Pa3SvnKtx+3U+g99xgzZC3ay+li5VLbcZ+GLZlk9HVsFX7Gs2ScKLue6Rc+efgcUzJOE 1EBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=9B9GDRKNwjwIN/Cf/1UQBweYTwau3iraitWh2DMCMVM=; b=PpZEjrnC+HJsirITl1AhjkU6J/+wXNlbiRCCpao69UqQHGG59m7UfPQ9l5HTa/ywN5 Tvp6hHA7fGu8zsIiAqYD6/DoAqe2UX5j6e0s9JJexsCdmVMjcBrgubp2FgSXlDtirszp MvkK0U1oZClmhcG5NYJaNJl1Q3S3fCo98MdJczxLoNJ+n8dFIgO6EzJ5k3keWq3ejFjl hiBuIWjhx7+ZWYIchL7mhPSKg3Gn4Bps0zJvAyGDWQTA6cgYpzCrFUJV1AV3BU1njUOV LQQpn33lQDipFA/c3aI7sxi0JVMCj5N+PD1QoZpWVZRFj/iPkgzqTWA+8PVLox6HJ2xJ bzkw== X-Gm-Message-State: APjAAAUrVvzHq/pNfaYgn2iN1rOMI3/0rryaO9kItbRJLRG+ooS7QYtD Aek+McQ5sKMrnazCNto9dcFX4G3M X-Google-Smtp-Source: APXvYqxQsXMPNraigIQYuIDwb1MnKExWBFqZBwHZ/zvjSKgnSHfemnoaijQMfzBrw3LvuovKXf+Q/w== X-Received: by 2002:ac8:34d8:: with SMTP id x24mr38803611qtb.353.1570567931688; Tue, 08 Oct 2019 13:52:11 -0700 (PDT) Received: from [192.168.6.1] (177.204.19.177.static.gvt.net.br. [177.204.19.177]) by smtp.gmail.com with ESMTPSA id j17sm9260775qki.99.2019.10.08.13.52.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Oct 2019 13:52:10 -0700 (PDT) To: freebsd-virtualization@freebsd.org From: =?UTF-8?Q?S=c3=a9rgio_Siegrist?= Subject: sysutils/grub2-bhyve: CURRENT build breaks on "gets" security hole Message-ID: Date: Tue, 8 Oct 2019 17:52:08 -0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 46nqKT0J4Rz4Vdg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lSFzNtxK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of barulheira@gmail.com designates 2607:f8b0:4864:20::830 as permitted sender) smtp.mailfrom=barulheira@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.33), ipnet: 2607:f8b0::/32(-2.54), asn: 15169(-2.14), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[0.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2019 20:52:15 -0000 Log from Trident build (13-CURRENT): grub2-bhyve fails to compile with this error: gcc8 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -MT argp-eexst.o -MD -MP -MF .deps/argp-eexst.Tpo -c -o argp-eexst.o argp-eexst.c In file included from argp.h:22, from argp-eexst.c:25: ./stdio.h:456:1: error: 'gets' undeclared here (not in a function); did you mean 'getw'? _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ^~~~~~~~~~~~~~~ gmake[5]: *** [Makefile:1030: argp-eexst.o] Error 1 I suppose replacing 'gets' with 'fgets' should fix it.