-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 09 June 2003 13:38, Dima K wrote:
> Fix for usprintf multiple buffer overrun problems (now allocate memory
> dynamically)

gee. i was rewritting the function from scratch. I was stopped because i 
wanted to understand why it is needed to quote % when bSecure is true.

If some day i finish it (now i don't have much motivation), i will send a 
patch. My idea was to get the total lenght (saving the expanded items) and 
then malloc.

BTW, it would be nicer char * ICQUser::usprintf(const char *fmt, ...) than 
void ICQUser::usprintf(char **pt, const char *fmt, ...).
(i call mine ICQUser::strdup_usprintf  after glib's g_strdup_printf )

Regars,
        Juan.

- -- 
Buenos Aires, Argentina                          12°C with winds at 5 km/h ENE
-----BEGIN PGP SIGNATURE-----

iD8DBQE+5L5ljSlJEriOToYRAhDMAKDCNyStd+DXdYhzfUWh8Mo8NuYYOgCdFkgi
z3QVJq4apT6JdROsUfTHHYo=
=ledN
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to