Re: parameter value overflow in main.cf

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-03-2004
Wietse Venema
 
Posts: n/a
Default Re: parameter value overflow in main.cf

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0