View Issue Details

IDProjectCategoryView StatusLast Update
0009311GNUnetutil librarypublic2024-11-14 09:43
Reporterfefe Assigned Toschanzen  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version0.23.0 
Summary0009311: GNUNET_DISK_pipe: O_CLOEXEC race
DescriptionCalling pipe and then setting O_CLOEXEC is a race.
On Linux there is a solution: instead of pipe(fd) call pipe2(fd,O_CLOEXEC)

TagsNo tags attached.

Activities

schanzen

2024-11-04 10:44

administrator   ~0023650

Fix committed to master branch.

Related Changesets

gnunet: master b0b0cbcf

2024-11-04 11:44

schanzen


Details Diff
util: use pipe2 if available. Fixes 0009311 Affected Issues
0009311
mod - configure.ac Diff File
mod - meson.build Diff File
mod - src/lib/util/disk.c Diff File

Issue History

Date Modified Username Field Change
2024-11-01 15:59 fefe New Issue
2024-11-03 20:34 schanzen Target Version => 0.22.3
2024-11-04 10:44 schanzen Changeset attached => gnunet master b0b0cbcf
2024-11-04 10:44 schanzen Note Added: 0023650
2024-11-04 10:44 schanzen Assigned To => schanzen
2024-11-04 10:44 schanzen Status new => resolved
2024-11-04 10:44 schanzen Resolution open => fixed
2024-11-14 09:43 schanzen Target Version 0.22.3 => 0.23.0