From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1652 invoked from network); 18 Dec 2020 12:14:03 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 18 Dec 2020 12:14:03 -0000 Received: from mail-vs1-f49.google.com ([209.85.217.49]) by ewsd; Fri Dec 18 07:06:28 -0500 2020 Received: by mail-vs1-f49.google.com with SMTP id e20so1190345vsr.12 for <9front@9front.org>; Fri, 18 Dec 2020 04:06:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UF38YASwQnxzxPiqE+TAD2ti5hnd6W1I+TULVPiTilk=; b=HkZnmbv2f6kC3Je4kLs0OdBsvQyHTYBLAvbbPji27WL/zNEqyDNcYofwPpviGXipRY ibZRB3brGEoYtIZ43XmqLCnywCYcIWGifuinSFRS8fHi/054FfRaIPiFkKn+GMxwHSPZ SkJH7ZeM9NmBb9sybb3FIONIbl5jHww21X83HzPVHfetSfh7LPJuyIPL/v7OCceKalsK wLT4dzAAs6Rw7luxXJpXQnevWSrRQAVJpDO6BYy0fzcUkfrCC67aO8rQbC2V3ApZXbIb bZMn7q5itjUb1BwUj+D6qKU9hbZfDyI5OBu37DE34I++mG2PJevOqnUEE07yOaTHea1L gWRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=UF38YASwQnxzxPiqE+TAD2ti5hnd6W1I+TULVPiTilk=; b=YwrNC85CbaLm9bgXkdIyMt4YXUP6H2PMJOZ5LygerFrKkk2Z0GBa2KM2dvKj7DU755 Elr30VdI3xQlu06QOvhfPgpbdln7+llJlCEUtdmNwXK8K6wpPb9HekWJAqjagMf81TGV 1LKt26e3OXOthMSKf6KI+XhSN0x/U7izoc+PybCfdjlYCzpotIxPtVvtoX2jMq8+XYpw IULzkBS4TJaDSa6i1OuukO/4STc3n/plPzTXCbdrNkCK63YjPlVTzShYGpRi0rNr1SPH 2W9jBrPxLP6ounYphz0i1hCoBF3N5ADzXjVP3bdIOL6W+sboqJ5rDGM/0aNDnzffHkQ8 kTeQ== X-Gm-Message-State: AOAM533+cOpm20Odn6jamb79qCI3ZXgdLx9WYfsRjzXCHfmJPsFCqK88 tBMsRWU7cvBVpUsRTY1rUN2/Q5JJBq2GVmaXvcTJ4awAkWZ6Ww== X-Google-Smtp-Source: ABdhPJxeH4u2nOjVLo21hWV1OjLDh0j5PmZADBrCa+LY18lBXp6hXg1lzqqmiKhffyeH95q86IvkSEAc03+hr0wARvg= X-Received: by 2002:a67:db0b:: with SMTP id z11mr3304083vsj.21.1608293179509; Fri, 18 Dec 2020 04:06:19 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a67:e319:0:0:0:0:0 with HTTP; Fri, 18 Dec 2020 04:06:18 -0800 (PST) In-Reply-To: References: <20201218112914.GA717@polynum.com> From: Kemal Date: Fri, 18 Dec 2020 15:06:18 +0300 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: content-addressed singleton-aware rails Subject: Re: [9front] strndup should use strnlen and memcpy Reply-To: 9front@9front.org Precedence: bulk I want strnlen to be used just to make sure but I think that arg1 should be \0 terminated normally. 2020-12-18 14:55 GMT+03:00, Eli Cohen : > I know what we should do but have no idea on a personal level > > On Fri, Dec 18, 2020 at 3:53 AM Kemal wrote: >> >> At this point I have no idea what we should do now. >