View Issue Details

IDProjectCategoryView StatusLast Update
0005925gnunet-gtkgnunet-fs-gtkpublic2024-02-11 11:44
Reportercorvuscorax Assigned ToChristian Grothoff  
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
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
Tagssegfault

Activities

Christian Grothoff

2019-10-08 14:04

manager   ~0014982

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

Related Changesets

gnunet-gtk: master 244e204d

2019-10-08 16:02

Christian Grothoff


Details Diff
fix 0005925 Affected Issues
0005925
mod - src/fs/gnunet-fs-gtk.c Diff File

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 => Git master
2019-10-08 14:05 Christian Grothoff Target Version => 0.11.7
2019-11-16 18:45 Christian Grothoff Status resolved => closed
2021-09-06 16:54 Christian Grothoff Changeset attached => gnunet-gtk master 244e204d
2024-02-11 11:44 Christian Grothoff Tag Detached: gnunet-gtk