aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/Makefile.in
diff options
context:
space:
mode:
authorMichael Santos <[email protected]>2010-10-01 19:56:34 -0400
committerBjörn Gustavsson <[email protected]>2010-10-04 15:25:22 +0200
commit329d7a22bdf9029a6f61a348942e2dbcd8e21de1 (patch)
treea3ddae5fb1f4641686feea27a98d85584469258b /erts/etc/common/Makefile.in
parent731755b6f865c3788b368ade7565e04d99ec83e8 (diff)
downloadotp-329d7a22bdf9029a6f61a348942e2dbcd8e21de1.tar.gz
otp-329d7a22bdf9029a6f61a348942e2dbcd8e21de1.tar.bz2
otp-329d7a22bdf9029a6f61a348942e2dbcd8e21de1.zip
run_test: prevent buffer overflow
Truncate buffers used to hold command line arguments.
Diffstat (limited to 'erts/etc/common/Makefile.in')
-rw-r--r--erts/etc/common/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/common/Makefile.in b/erts/etc/common/Makefile.in
index 7f502b277e..a965ac21f8 100644
--- a/erts/etc/common/Makefile.in
+++ b/erts/etc/common/Makefile.in
@@ -351,7 +351,7 @@ $(OBJDIR)/escript.o: escript.c
$(CC) $(CFLAGS) -o $@ -c escript.c
$(BINDIR)/run_test@EXEEXT@: $(OBJDIR)/run_test.o
- $(PURIFY) $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/run_test.o -L$(OBJDIR) $(LIBS)
+ $(PURIFY) $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/run_test.o -L$(OBJDIR) $(LIBS) $(ERTS_INTERNAL_LIBS)
$(OBJDIR)/run_test.o: run_test.c
$(CC) $(CFLAGS) -o $@ -c run_test.c