View Issue Details

IDProjectCategoryView StatusLast Update
0005925gnunet-gtkgnunet-fs-gtkpublic2019-11-16 18:45
ReportercorvuscoraxAssigned ToChristian Grothoff 
Status closedResolutionfixed 
Product VersionSVN HEAD 
Target Version0.11.7Fixed in Version0.11.7 
Summary0005925: gnunet-gtk API incompatible with latest gnunet API
Descriptionweirdly enough gnunet-gtk compiles against the current git version of gnunet, but segfaults as soon as gnunet-fs-gtk is started
The reason is an API incompatibility
 in arm_api.c handle_arm_list_result() sends "list" as struct GNUNET_ARM_ServiceInfo list[rcount];
but gnunet-fs-gtk's callback expects:
const char *const *list

which leads to a null pointer dereference if the first entry of the struct is 0
Steps To Reproducecompile, run
Tagsgnunet-gtk, segfault


Christian Grothoff

2019-10-08 14:04

manager   ~0014982

Thanks for the report, fixed in 7f569151..244e204d.

Issue History

Date Modified Username Field Change
2019-10-08 08:27 corvuscorax New Issue
2019-10-08 08:27 corvuscorax Tag Attached: gnunet-gtk
2019-10-08 08:27 corvuscorax Tag Attached: segfault
2019-10-08 14:04 Christian Grothoff Note Added: 0014982
2019-10-08 14:05 Christian Grothoff Assigned To => Christian Grothoff
2019-10-08 14:05 Christian Grothoff Status new => resolved
2019-10-08 14:05 Christian Grothoff Resolution open => fixed
2019-10-08 14:05 Christian Grothoff Fixed in Version => 0.11.7
2019-10-08 14:05 Christian Grothoff Product Version => SVN HEAD
2019-10-08 14:05 Christian Grothoff Target Version => 0.11.7
2019-11-16 18:45 Christian Grothoff Status resolved => closed