Skip to content
  • Andrea Azzarone's avatar
    tracker-monitor: Prevent stack smashing · 63c0a5d4
    Andrea Azzarone authored
    Make sure to use GPOINTER_TO_UINT when using g_hash_table_lookup_extended() to
    prevent stack smashing. This will make sure that in the architectures where
    sizeof(GFileMonitorEvent) < sizeof(gpointer), g_hash_table_lookup_extended()
    will not write more bytes than prev_event_type can hold.
    
    Fixes: #71
    63c0a5d4