From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob0.topicbox.com (tb-ob0.topicbox.com [64.147.108.117]) by inbox.vuxu.org (Postfix) with ESMTP id 02E6523D22 for ; Wed, 20 Nov 2024 15:25:28 +0100 (CET) Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id DC37C2350A for ; Wed, 20 Nov 2024 09:25:27 -0500 (EST) (envelope-from bounce.mM523df7e59ad953b061346cb2.r81958daa-7202-11ef-bbf2-18142b2d11b0@illumos.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id D6080333062; Wed, 20 Nov 2024 09:25:27 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=crQnBP2n 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; spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=pv50p00im-zteg10011501.me.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:mime-version:message-id:date:to :list-help:list-id:list-post:list-subscribe:reply-to:subject :content-transfer-encoding:from:list-unsubscribe; s=sysmsg-1; t= 1732112727; bh=C8rO5Itz7R7z382bPkzSW8NjH0uadq4ra2gvh/BXO2Q=; b=C ng+l01ReUfuD5S3rvb16tkhZi6HAGWpRlZAjC/GjkG4gAxC/cgL3OTYs6U6cxgJZ loTUWlE+DynmLmA1ABJqBiRXIA/flHG4fWK48tcCv+Nm3Z6RYdK+klPFr2DO95ND nlGb5skRkW+XcpEdP8QmbEMDHYz1TsdlPSHs7CiBSE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1732112727; b=FaTMfEWELBQ0CIbczkxoBqrdsAUFEIze2f5cQPYO5mTR81ayEa 7ktS+97Ydf2MobNdR2aWSZRloXMFPpC8LxH8bmudEtfsohxRnNMKM21URKYZAMMu kISZgDFDcRsFk1PT/6Ga/hx9MLWoe5ixbQfbgfNF0bj8gcTgj3Ce7kPqc= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=crQnBP2n 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; spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=pv50p00im-zteg10011501.me.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.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=crQnBP2n 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.6.42 (pv50p00im-zteg10011501.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=pv50p00im-zteg10011501.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=pv50p00im-zteg10011501.me.com policy.ptr=pv50p00im-zteg10011501.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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lists.illumos.org; h= content-type:mime-version:message-id:date:to:list-help:list-id :list-post:list-subscribe:reply-to:subject :content-transfer-encoding:from:list-unsubscribe; s=dkim-1; t= 1732112727; x=1732199127; bh=p0p5qRALemV3FkNM9TKBh9isWNoqJGtQoyH 0c5E77kU=; b=Ppr030W5bOcBNGLYT+JFxVihMBnSTONPN1t7P/jW4fZxhJkk6Ue PqxVrkYdeCazIpXI/KbF5zs/gdrwhyX7FYZHkOwfBSJ0kea5DaOlhYP6DSUue/5p acsJVQ3W1XnVM/gpWYJkmiGYBgHYDOgcDtHCw3iOuRRU7Hnd3qCvFAsc= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 69B26368C69 for ; Wed, 20 Nov 2024 09:23:48 -0500 (EST) (envelope-from tsoome@me.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 86D4AD850A5; Wed, 20 Nov 2024 09:23:48 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1732112628; b=HBW0knul2W8AQEWVjUPkkS7Q1lazqAoVHDa1xcYNWzr3f5BEEw vFvRZqfsTjq3Asc4kntQaz0L0KtmrvGNdok4uoA4GkDVeBkhCYQ9+kVC7zOdF/Yh 7a6nRmOyHUFL4UTNJ39KvbSaqKmJB33TL5h1gRxrJJ4dLBTEv1yVh6TlIv0ARHpZ GHZiHWZQR/XCGLvWGQEJInky+GYBhyew2gbLw80n4c7cW/kuZ6LSMWEFIbPPTnV1 5THJ0aN0fLD1SbDlgxzelkhs5LqC5T1tpi9g4A5b1k/XviC//ps4qAgeEkKAyz06 a6rezhDS0d70Q63uWY+FXUS+UYO8WlNRm0Gg== 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=1732112628; bh=ozHbmMykssDLnDp e+jXqZ+h3ZjZqOYEB/pPNnBi+TdA=; b=ty2e71/pzYrVaiUZdHo0RrZk33Y+FR8 Zq1/6Kj6Z8Zm/2Va2+LHHtA3lsB03hu1eit/nwHO9b6amzcOvzzZxQ1vxTiEM5f4 TR+0rIaW5rPN25/RvmfaC0HNsidQruy6SLd9Cm3VJd9sVr5Vjm7XTEg8A8HioGv1 ulgJv+2GXF5eKcX3PR+5oFIz6iSrYgsgTMc/YBGPIms3oXhV6tlI+ko1cTi1AOCK ReX4i7rNVmC3t+XQtFjFTckt4efPzyZxv/LhQRF60bsMbbvbXKTBX180lHHptHdE DuALuenC6R7ZapA++/0e/yV/sOQkDo1/QUIrj5KlqJsxRs3FqlwM80g== ARC-Authentication-Results: i=1; tb-mx0.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=crQnBP2n 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.6.42 (pv50p00im-zteg10011501.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=pv50p00im-zteg10011501.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=pv50p00im-zteg10011501.me.com policy.ptr=pv50p00im-zteg10011501.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: gggruggvucftvghtrhhoucdtuddrgeefuddrfeeggdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhtggguffkfffvofesrgdtmherhhdtvdenucfhrhho mhepvfhoohhmrghsucfuohhomhgvuceothhsohhomhgvsehmvgdrtghomheqnecuggftrf grthhtvghrnhepudehkeeufffhhfejvdejtdetiedvtdelfeeugfekvedthfehvefhudeh ffffvdehnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgnecukfhppedujedrheekrd eirdegvddpudejrdehiedrledruddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehinhgvthepudejrdehkedriedrgedvpdhhvghlohepphhvhedtphdttdhimhdqii htvghguddttdduudehtddurdhmvgdrtghomhdpmhgrihhlfhhrohhmpeeothhsohhomhgv sehmvgdrtghomheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoeguvghvvghloh hpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (me.com: 17.58.6.42 is authorized to use 'tsoome@me.com' in 'mfrom' identity (mechanism 'ip4:17.58.0.0/16' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="tsoome@me.com"; helo=pv50p00im-zteg10011501.me.com; client-ip=17.58.6.42 Received: from pv50p00im-zteg10011501.me.com (pv50p00im-zteg10011501.me.com [17.58.6.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Wed, 20 Nov 2024 09:23:48 -0500 (EST) (envelope-from tsoome@me.com) Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-zteg10011501.me.com (Postfix) with ESMTPSA id 2A2144A00B7 for ; Wed, 20 Nov 2024 14:23:43 +0000 (UTC) Content-Type: multipart/alternative; boundary="Apple-Mail=_819C64B6-4A81-4906-A733-C24441D89EAB" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Message-Id: <8289776D-A276-4F5A-97F8-C47C32760603@me.com> Date: Wed, 20 Nov 2024 16:23:30 +0200 To: illumos-developer X-Mailer: Apple Mail (2.3826.200.121) X-Proofpoint-ORIG-GUID: MtkZ8p4UY-cRtPyfUFFOUCDdLWd09HX5 X-Proofpoint-GUID: MtkZ8p4UY-cRtPyfUFFOUCDdLWd09HX5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-11-20_11,2024-11-20_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxscore=0 spamscore=0 clxscore=1015 mlxlogscore=829 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2411200095 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 1126ed38-a74b-11ef-8c6c-d49e008c7b06 Archived-At: =?UTF-8?B?PGh0dHBzOi8vaWxsdW1vcy50b3BpY2JveC5jb20vZ3JvdXBz?= =?UTF-8?B?L2RldmVsb3Blci9UYzNjZTJlMDQ5MWIwNThhMi1NNTIzZGY3ZTU5YWQ5NTNi?= =?UTF-8?B?MDYxMzQ2Y2IyPg==?= List-Help: List-Id: "illumos-developer" List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: illumos-developer Subject: [developer] REVIEW: 16896 ipc: possible memory leak of 'ids' Content-Transfer-Encoding: 7bit From: "Toomas Soome via illumos-developer" List-Unsubscribe: , Topicbox-Delivery-ID: 2:illumos:a901537c-2aea-11e7-965f-d98f9f16e227:81958daa-7202-11ef-bbf2-18142b2d11b0:M523df7e59ad953b061346cb2:1:Lbq7dZL1VPyvxPKYkvD11T77f1bhfH5xwowtRa6LH7o --Apple-Mail=_819C64B6-4A81-4906-A733-C24441D89EAB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 hi! Please review: https://code.illumos.org/c/illumos-gate/+/3813=20 It is actually not a but as such, but is still a bit confusing. And my smat= ch-fu is not as strong as to implement size related checks. thanks, toomas ------------------------------------------ illumos: illumos-developer Permalink: https://illumos.topicbox.com/groups/developer/Tc3ce2e0491b058a2-= M523df7e59ad953b061346cb2 Delivery options: https://illumos.topicbox.com/groups/developer/subscription --Apple-Mail=_819C64B6-4A81-4906-A733-C24441D89EAB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 hi!

Please review: https://code.illumos.org/c/illumos-gate/+/3813 

It is actually not a but as = such, but is still a bit confusing. And my smatch-fu is not as strong as to= implement size related checks.

thanks= ,
toomas
= --Apple-Mail=_819C64B6-4A81-4906-A733-C24441D89EAB--