Re: Glib->log() and %-style format strings



muppet wrote:
Well, that should be

   g_log (log_domina, SvGLogLevelFlags (log_level), "%s", message);

in order to protect against nasty embedded % chars.

Ah, I didn't think of that.  Committed to both branches.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]