pkgsrc/lang/gcc-ssp/files/buffer.c
kent 9642e3f571 Update for the extension patch released at 29 Jun 2001, which fixes bugs
for sparc and mipsEEel.

Change installation directory: ${LOCALBASE}/gcc-ssp-2.95.2 -> ${LOCALBASE}/gcc-ssp
Change name of make configuration file: gcc-ssp-2.95.2.mk -> gcc-ssp.mk
Comment ONLY_FOR_PLATFORM out, and add NOT_FOR_PLATFORM.
Add a test of stack-protection.
2001-06-30 16:16:11 +00:00

9 lines
174 B
C

/* $NetBSD: buffer.c,v 1.1 2001/06/30 16:16:11 kent Exp $ */
#include <stdio.h>
int main(int argc, char* argv[]) {
char buffer[10];
strcpy(buffer, argv[1]);
return 0;
}