Apply ASLR to stund and stunbdc of stun/tools 12/236112/3 accepted/tizen/unified/20200616.040956 submit/tizen/20200615.034320
authorHyunil <hyunil46.park@samsung.com>
Mon, 15 Jun 2020 03:18:23 +0000 (12:18 +0900)
committerHyunil <hyunil46.park@samsung.com>
Mon, 15 Jun 2020 03:29:42 +0000 (12:29 +0900)
Change-Id: Ieb4ad8f0098329ff6145828fc0f1ec617e85f6f6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
packaging/libnice.spec
stun/tools/Makefile.am

index 4fb9271..b38d185 100644 (file)
@@ -1,7 +1,7 @@
 Name:       libnice
 Summary:    Library for implementing Interactive Connectivity Establishment (ICE) standard (RFC 5245 & RFC 8445)
 Version:    0.1.16
-Release:    1
+Release:    2
 Group:      Multimedia/Libraries
 License:    LGPL-2.1
 Source0:    %{name}-%{version}.tar.gz
index c945650..908f9e2 100644 (file)
@@ -8,8 +8,9 @@
 #
 
 include $(top_srcdir)/common.mk
-AM_CFLAGS = -std=gnu99 $(LIBNICE_CFLAGS)
-AM_CPPFLAGS = -I$(top_srcdir) 
+AM_CFLAGS = -std=gnu99 $(LIBNICE_CFLAGS) -fPIE
+AM_CPPFLAGS = -I$(top_srcdir)
+AM_LDFLAGS = -pie
 
 bin_PROGRAMS = stunbdc stund
 
@@ -18,7 +19,7 @@ check_PROGRAMS = stund
 stund_SOURCES = stund.c stund.h
 stund_LDADD = $(top_builddir)/stun/libstun.la
 
-stunbdc_SOURCES = stunbdc.c 
+stunbdc_SOURCES = stunbdc.c
 
 stunbdc_LDADD = $(top_builddir)/stun/libstun.la