lib/crypt.c: Do not overwrite the output buffer too early. #210
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.50) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 467 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.368
Real PR Conversation Timeline
1 comments
"Review active on #210"
general
weight: 0.35
solardiz
besser82
Allow passing a pointer returned by crypt(3) previously as the input for a subsequent call to crypt(3), adapt the manpage accordingly, and implement a simple testcase for such a scenario. This also applies to the other variants of the crypt function, when the same data object is used for subsequent calls.
Alter the resize process of the data object by crypt_ra(3), to keep the literals passed with the phrase and the setting parameter during the runtime of the function, if those are stored within the initially passed data object.
Also apply the same semantics to the crypt_gensalt(3) function family, and the internally used make_failure_token() helper.
Fixes #209.