GNOME Bugzilla – Bug 635768
Protect g_file_monitor_set_rate_limit() against negative limit values
Last modified: 2010-11-28 22:16:35 UTC
Currently g_file_monitor_set_rate_limit() accepts a signed integer as limit_msecs value; which is defined in the property to be in the range [0,G_MAXINT]; but the method implementation doesn't actually check it when the value is passed.
Created attachment 175233 [details] [review] Patch for the issue Just a g_return_if_fail() fixes this.