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.
9 lines
174 B
C
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;
|
|
}
|