mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
sprintf to snprintf conversion
Move out string operations to another file, and introduce a frontend to snprintf for various situations. This change is important for catching and eliminating sprintf overflows, which are as of now many times silently corrupting memory. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
This commit is contained in:
committed by
Peter van Hardenberg
parent
846c0b92e8
commit
916c0492fb
6
Makefile
6
Makefile
@@ -4,8 +4,10 @@
|
||||
# Copyright (c) 2ndQuadrant, 2010
|
||||
# Copyright (c) Heroku, 2010
|
||||
|
||||
repmgrd_OBJS = dbutils.o config.o repmgrd.o
|
||||
repmgr_OBJS = dbutils.o check_dir.o config.o repmgr.o
|
||||
repmgrd_OBJS = dbutils.o config.o repmgrd.o strutil.o
|
||||
repmgr_OBJS = dbutils.o check_dir.o config.o repmgr.o strutil.o
|
||||
|
||||
DATA = repmgr.sql uninstall_repmgr.sql
|
||||
|
||||
PG_CPPFLAGS = -I$(libpq_srcdir)
|
||||
PG_LIBS = $(libpq_pgport)
|
||||
|
||||
Reference in New Issue
Block a user