Skip to content

Fix an issue where using access tokens with a `time` provider caused segfaults

Patrick Rice requested to merge fix-segfault-in-tokens into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Closes #6318 (closed)

Fix an issue where token rotation for project and group access token would fail when used with an upstream time provider. This fails because those upstream providers output the expiryDate as nil and Unknown during the Plan operation, causing a segfault when attempting to determine whether the token needs to be rotated.

Edited by 🤖 GitLab Bot 🤖

Merge request reports