Ban `rand` (SERVER-72373)

[SERVER-72498] add lint rule vs rand and srand Created: 04/Jan/23  Updated: 29/Oct/23  Resolved: 04/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Sub-task Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-12-26, Service Arch 2023-01-09
Participants:

 Comments   
Comment by Githook User [ 04/Jan/23 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-72498 lint against rand and srand

Annotate legacy srand calls with NOLINT to pass new linter
Branch: master
https://github.com/mongodb/mongo/commit/730905254c27ab918853498fbc9fdd174677497e

Comment by Githook User [ 04/Jan/23 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-72498 nolint for srand use
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/5f6883f0ddf62ed4d1a6ffa201dc43b77303f1bd

Generated at Thu Feb 08 06:21:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.