rfc822_write_address_full() is a legacy function. It's used in c-client in only two places: as part rfc822_header(), and in address searching (which does a bounds check).

rfc822_header() is also legacy; it's called from rfc822_output() which the application is supported to replace with its own rfc822out_t function.

Basically, you either need to do the equivalent bounds checking to what is done by mail_search_addr(), or use your own function to write the address.

It's been on my list for some time to get rid of these routines in favor of routines which use the soutr_t mechanism (since their primary purpose is for rfc822_output(), and make the old names be macros into the new interface. Thanks for reminding me.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to