mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
Use strtol() in place of atoi() to better verify integer parameters
Per GitHub #127
This commit is contained in:
3
config.h
3
config.h
@@ -88,5 +88,8 @@ bool reload_config(t_configuration_options *orig_options);
|
||||
bool parse_config(t_configuration_options *options);
|
||||
void parse_line(char *buff, char *name, char *value);
|
||||
char *trim(char *s);
|
||||
int repmgr_atoi(const char *s,
|
||||
const char *config_item,
|
||||
void (*error_callback)(char *error_message));
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user