Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Please sonar about unsecure usage of rand().
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 2 Oct 2021 11:57:20 +0000 (13:57 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 2 Oct 2021 18:54:25 +0000 (20:54 +0200)
commit3154ce384e6049740a820fe73b541b6a034b140f
treede91bb8271f96359762a7cd5b43d0a736338ae1e
parent0d0eda9cd2c809ad47cddec7d73f339c7bc3ca11
Please sonar about unsecure usage of rand().

sg_actor_self_get_pid() makes a perfect random number here.

Remember https://xkcd.com/221/
teshsuite/smpi/coll-allgather/coll-allgather.c