View Issue Details

IDProjectCategoryView StatusLast Update
0009285GNUnetutil librarypublic2024-10-29 20:56
Reporterfefe Assigned Toschanzen  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.22.2Fixed in Version0.22.2 
Summary0009285: GNUNET_xgrow_: division by zero
Description  332 GNUNET_assert_at (INT_MAX / elementSize > newCount, filename, linenumber);

This code should check that elementSize != 0 before dividing by it.
TagsNo tags attached.

Activities

schanzen

2024-10-24 11:58

administrator   ~0023585

Fix committed to master branch.

schanzen

2024-10-29 20:56

administrator   ~0023631

Released

Related Changesets

gnunet: master 4251cbf5

2024-10-24 13:57

schanzen


Details Diff
util: Handle potential division by zero. Fixes 0009285 Affected Issues
0009285
mod - src/lib/util/common_allocation.c Diff File

Issue History

Date Modified Username Field Change
2024-10-21 15:46 fefe New Issue
2024-10-23 13:20 schanzen Target Version => 0.22.2
2024-10-24 11:58 schanzen Changeset attached => gnunet master 4251cbf5
2024-10-24 11:58 schanzen Note Added: 0023585
2024-10-24 11:58 schanzen Assigned To => schanzen
2024-10-24 11:58 schanzen Status new => resolved
2024-10-24 11:58 schanzen Resolution open => fixed
2024-10-24 11:58 schanzen Fixed in Version => 0.22.2
2024-10-29 20:56 schanzen Note Added: 0023631
2024-10-29 20:56 schanzen Status resolved => closed