From owner-freebsd-hackers Wed Feb 12 21:05:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA18266 for hackers-outgoing; Wed, 12 Feb 1997 21:05:16 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA18248 for ; Wed, 12 Feb 1997 21:05:12 -0800 (PST) Received: from murkwood.gaffaneys.com (dialup4.gaffaneys.com [134.129.252.23]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id VAA08678 for ; Wed, 12 Feb 1997 21:05:10 -0800 (PST) Received: (from zach@localhost) by murkwood.gaffaneys.com (8.8.5/8.8.5) id WAA10038; Wed, 12 Feb 1997 22:59:52 -0600 (CST) To: wong@rogerswave.ca Cc: hackers@freebsd.org Subject: Re: strlen() question, maybe str*cpy References: Mime-Version: 1.0 (generated by tm-edit 7.89) Content-Type: text/plain; charset=US-ASCII From: Zach Heilig Date: 12 Feb 1997 22:59:51 -0600 In-Reply-To: Ken Wong's message of Wed, 12 Feb 1997 23:11:01 -0500 (EST) Message-ID: <87iv3xl2rc.fsf@murkwood.gaffaneys.com> Lines: 13 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ken Wong writes: > why isn't the str*cpy check the BP (base pointer?) register > and use it to gaurd against stack over right? Are you certain that all strings are allocated on the stack? I'm pretty sure there are some in the bss and others that are malloc()'d as well... -- Zach Heilig (zach@blizzard.gaffaneys.com) | ALL unsolicited commercial email Support bacteria -- it's the only | is unwelcome. I avoid dealing form of culture some people have! | with companies that email ads.