This is a discussion on Re: parameter value overflow in main.cf within the mailing.postfix.users forums, part of the Mail Servers and Related category; Marcin Gryszkalis: > It seems that > static int convert_mail_conf_int(const char *name, int *intval) > should be rewritten to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Marcin Gryszkalis:
> It seems that > static int convert_mail_conf_int(const char *name, int *intval) > should be rewritten to check for overflows (possibly use > strtoll instead of sscanf etc.) > > I'm not familiar with postfix development rules but I could make a patch. > Where should it be sent to for acceptance? postfix-users@postfix.org. Be sure to invoke strtoll() ONLY on platforms that actually have it. If every system did, then Postfix would already have used it. Wietse |