Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit502769d

Browse files
committed
Change HPUX loader flags to trap null pointer derefs
1 parent9bb7096 commit502769d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/makefiles/Makefile.hpux

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ ifeq ($(HPUX_MAJOR), 09)
2121
endif
2222

2323
# On all HPUX versions, embed LIBDIR as the shared library search path
24-
# so that the executables don't need SHLIB_PATH to be set.
25-
LDFLAGS+= -Wl,+b -Wl,$(LIBDIR)
24+
# so that the executables don't need SHLIB_PATH to be set, and enable -z
25+
# to catch null pointer dereferences.
26+
LDFLAGS+= -Wl,+b -Wl,$(LIBDIR) -Wl,-z
2627

2728
# Does anyone use this stuff?
2829
#ifdef ENFORCE_ALIGNMENT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp