Agree, this is something what can/may be fixed. Sadly, this means fixing also another 63 incorrect usage of sprintf resulting in ... UGLY huge patch. Really something what I don't like to.
Honza Open SA Forum AIS Services mailing list wrote: > On Mon, Feb 28, 2011 at 6:41 AM, Open SA Forum AIS Services mailing > list <[email protected]> wrote: >> char filename[256]; >> >> sprintf (filename, "%s/ringid_%s", >> rundir, totemip_print (&instance->my_id.addr[0])); > > This was changed in Corosync to have filename be of PATH_MAX length. > sprintf() was also changed to snprintf(). > > -- > Russell Bryant > _______________________________________________ > Openais mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
