aboutsummaryrefslogtreecommitdiff
path: root/src/namecache/plugin_namecache_flat.c
AgeCommit message (Collapse)Author
2018-06-07glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX
2018-06-05first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX
2018-03-03eliminate .gnu from GNSChristian Grothoff
2016-08-29- fix coverityMartin Schanzenbach
2016-08-26-fix use after freeChristian Grothoff
2016-08-26-fixing idiocyChristian Grothoff
2016-07-08-avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff
2016-07-07-coverityMartin Schanzenbach
2016-07-07-coverityMartin Schanzenbach
2016-01-19-fix (C) noticesChristian Grothoff
2015-12-15- update flat plugin to namestore flat plugin status. Add config filename.Martin Schanzenbach
2015-12-06namecache: fix NULL-pointer dereference in namecache-flatDaniel Golle
namecache-flat crashes if started on an empty or non-existent file. gnunet-service-[2568]: segfault at 0 ip 00007fe32dc8bb3c sp 00007ffde11826f0 error 4 in libgnunet_plugin_namecache_flat.so[7fe32dc8a000+202000] gnunet-service-[2576]: segfault at 0 ip 00007f2a6be75b3c sp 00007ffdf9b6d880 error 4 in libgnunet_plugin_namecache_flat.so[7f2a6be74000+202000] gnunet-service-[2581]: segfault at 0 ip 00007ff1dcfb1b3c sp 00007fff834070f0 error 4 in libgnunet_plugin_namecache_flat.so[7ff1dcfb0000+202000] This fix at least prevents parsing a 0-byte file, however, looking at the code it is clear that more needs to be done to prevent crashes in case of corrupted or incompletely written cache data. Fixes https://gnunet.org/bugs/view.php?id=4082 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-08-11-fixMartin Schanzenbach
2015-08-11- fixMartin Schanzenbach
2015-08-11-add flat namecacheMartin Schanzenbach