From owner-freebsd-security Mon Feb 10 11:21:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA19409 for security-outgoing; Mon, 10 Feb 1997 11:21:07 -0800 (PST) Received: from fabius.globecomm.net (fabius.globecomm.net [207.51.48.6]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA19355 for ; Mon, 10 Feb 1997 11:20:24 -0800 (PST) Received: from daytona.disb.com.my ([202.190.129.52]) by fabius.globecomm.net (8.8.5/8.8.0) with ESMTP id OAA24541 for ; Mon, 10 Feb 1997 14:20:01 -0500 (EST) Message-Id: <199702101920.OAA24541@fabius.globecomm.net> From: "M.C Wong" To: Subject: Writing buffer overwrite on FreeBSD ? Date: Tue, 11 Feb 1997 03:12:00 +0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-security@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Dear Sir/Madam, With reference to http://www.l0pht.com/advisories/bufero.html, I wonder if anyone manage to make 2nd cut of the program used in the tutorial (syslog_test_2.c) throws out a SIGTRAP ? Similarly for the 3rd cut and the final program which runs smoothly from begining to end and not causing any error. Am I reading the codes wrongly ? I understand the code was originally written on BSDI system but thought the similarity between it and FreeBSD should exhibit the same bahaviour when executing the codes. Not! Have someone had any experience in writing similar buffer overun test code that actually works on a FreeBSD box ? Appreciate sharing of such information if available. Regards, M.C Wong