• 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
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
examples Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
ChangeLog.pre-0-6-93 Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
config.h.meson.in Loading commit data...
gitlog-to-changelog Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
tracker.doap Loading commit data...