From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 11A8F1DAC2B5 for ; Sat, 20 Jul 2024 09:09:29 -0400 (EDT) (envelope-from tsoome@me.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 1A1542DD940; Sat, 20 Jul 2024 09:09:28 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1721480968; b=WCIUUTsA1/d8Pst/yaVv3TSCLzQ6h6yhCkiXAKEgX6Xq1aEt/B vjmreX683Reb+aiCLCdLaSujnRCuBuHp2ymzoSNBe7lcF3ctOIJwxBYS5xJEoHrG 0slYv8YyQIY0BY3jP8ovMHJZfUwbXtuarf548zBsaNblm/SjS7iwFIgFnM+EOWzi 2FviTnJieAho1cfr/NtUdbeL2LP6nxAkNBZ2zAlq1IOxVSsxyK3lBfDyVx3fCZR4 jRtcEtbtWHlHkOcLBQagIXHwJ2ZfzcLvdzr9WVzeaEz3rkevcohHd3RXHbuV15BS k0/brA/zEoasf9IMHirZ2xJniKC5rkglorww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:subject :message-id:date:to; s=arcseal; t=1721480968; bh=zgdb4gLp6fkpMxc 8G23yH+2VOaKw4uQF0VNYzdEpPUw=; b=XqYnUmknecxTKTRscgFV4T6b7lIVabi V1hBsSl25lEJDVa/efTHhcl9bZXMjDsZSFCeaLWSPqbbUgrnGrdxhfO20EcOCzJR X85QWO7W7YSMeNhXxUaiPY9a4WqhNk+lLzKZJD065Zpy0vum36aQoCTH1b8GLWJ0 ZaD1gXvioa0frBlOHA4Ql5KORuYa41x121fkmY4VeOnt+MfjqGit1XG48WzBkdO0 T4kAxiFYtu7dEPENEiZQrP/re2MEtiiuiykaJPKxTZBXHl5nQkTxWDflVDoGI+kB pkbad9t3VTabEjAv5QLv+JkdwEwXp6VyUWSiye2e4koQPYpOv04VIPw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=UryVX5Bs header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.23.195 (mr85p00im-ztdg06021801.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=mr85p00im-ztdg06021801.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mr85p00im-ztdg06021801.me.com policy.ptr=mr85p00im-ztdg06021801.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=UryVX5Bs header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.23.195 (mr85p00im-ztdg06021801.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=mr85p00im-ztdg06021801.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mr85p00im-ztdg06021801.me.com policy.ptr=mr85p00im-ztdg06021801.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrheefgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhtggguffkfffvofesrgdtmherhhdtvdenucfhrhho mhepvfhoohhmrghsucfuohhomhgvuceothhsohhomhgvsehmvgdrtghomheqnecuggftrf grthhtvghrnhepudehkeeufffhhfejvdejtdetiedvtdelfeeugfekvedthfehvefhudeh ffffvdehnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgnecukfhppedujedrheekrd dvfedrudelhedpudejrdehjedrudehvddrudeknecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehinhgvthepudejrdehkedrvdefrdduleehpdhhvghlohepmhhrkeehph dttdhimhdqiihtughgtdeitddvudektddurdhmvgdrtghomhdpmhgrihhlfhhrohhmpeeo thhsohhomhgvsehmvgdrtghomheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoe guvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (me.com: 17.58.23.195 is authorized to use 'tsoome@me.com' in 'mfrom' identity (mechanism 'ip4:17.58.0.0/16' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="tsoome@me.com"; helo=mr85p00im-ztdg06021801.me.com; client-ip=17.58.23.195 Received: from mr85p00im-ztdg06021801.me.com (mr85p00im-ztdg06021801.me.com [17.58.23.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for ; Sat, 20 Jul 2024 09:09:28 -0400 (EDT) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1721480967; bh=zgdb4gLp6fkpMxc8G23yH+2VOaKw4uQF0VNYzdEpPUw=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=UryVX5BsNovo70dqJABdz3jzRWlsjFtBd3Ok+ZRJUOz7omgR0HuvhCPlgYYx4B8Kf TvCet5KmoktJtlsAl1cS8ftUJGjNCCXOKVaWquDYnwbgJzS5uUSYNWVWwHeaqngVUU uSmWpnI5DtaKErAPi/7Rgip4ec1fFRSjiXOZXInAfqVjKnVm8fLeCBJaGz048TXF2D VfiMYCxP6bk2RCRjC97MBkUvvZ99ZjpCZnoL/bkqEoImIU4ea2jcNgACMK13xyIgMd cKosTImffEIUnYOHg66Ly3BcWPxf2daAjzqyl/TLqpmNW+NMSVsKiB+yPc5IgrlqyJ fGodyjg3cHjhA== Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021801.me.com (Postfix) with ESMTPSA id 185DCD00682 for ; Sat, 20 Jul 2024 13:09:25 +0000 (UTC) From: Toomas Soome Content-Type: multipart/alternative; boundary="Apple-Mail=_39A246A8-89DB-44F2-B865-F0B77AAB3A92" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: REVIEW: 16670 libshare: issubdir() error: strcpy() 'dir1' too large for 'childdir' Message-Id: <056ABA1F-380D-43FC-9C06-783AFAC11A1C@me.com> Date: Sat, 20 Jul 2024 16:03:20 +0300 To: illumos-developer X-Mailer: Apple Mail (2.3774.600.62) X-Proofpoint-ORIG-GUID: I8MnjbC1rukzTG2bL5uX4WAmzu_4aUpT X-Proofpoint-GUID: I8MnjbC1rukzTG2bL5uX4WAmzu_4aUpT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-20_10,2024-07-18_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 mlxscore=0 mlxlogscore=844 phishscore=0 suspectscore=0 adultscore=0 spamscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2407200094 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 4e96e10e-4699-11ef-9334-915085c6897b --Apple-Mail=_39A246A8-89DB-44F2-B865-F0B77AAB3A92 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii hi! Please review: https://code.illumos.org/c/illumos-gate/+/3605 Use strlcpy(). Thanks, Toomas --Apple-Mail=_39A246A8-89DB-44F2-B865-F0B77AAB3A92 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii hi!


Use strlcpy().

Thanks,
Toomas
--Apple-Mail=_39A246A8-89DB-44F2-B865-F0B77AAB3A92--