View Issue Details

IDProjectCategoryView StatusLast Update
0009322GNUnetutil librarypublic2024-12-09 17:03
Reporterfefe Assigned Toschanzen Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.23.0Fixed in Version0.23.0 
Summary0009322: GNUNET_DNSPARSER_builder_add_name: integer overflow
Description  1011 start = *off;
  1012 if (start + strlen (idna_name) + 2 > dst_len)
  1013 goto fail;

off is a function argument, a size_t*. The caller could have been tricked and call the function with -1 in there, in which case this check would fail to detect the problem and cause memory corruption later.
TagsNo tags attached.

Activities

schanzen

2024-11-05 08:15

administrator   ~0023662

Fix committed to master branch.

schanzen

2024-12-09 17:03

administrator   ~0023825

Released

Issue History

Date ModifiedUsernameFieldChange
2024-11-04 15:57fefeNew Issue
2024-11-04 18:26schanzenTarget Version => 0.22.3
2024-11-05 08:15schanzen
2024-11-05 08:15schanzenNote Added: 0023662
2024-11-05 08:15schanzenAssigned To => schanzen
2024-11-05 08:15schanzenStatusnew => resolved
2024-11-05 08:15schanzenResolutionopen => fixed
2024-11-14 08:43schanzenTarget Version0.22.3 => 0.23.0
2024-12-09 17:03schanzenFixed in Version => 0.23.0
2024-12-09 17:03schanzenNote Added: 0023825
2024-12-09 17:03schanzenStatusresolved => closed