Skip to content

[8.0] Don't use string processing on X509 name objects#8091

Merged
chrisburr merged 1 commit intoDIRACGrid:rel-v8r0from
sfayer:fix_dn_proc
Mar 26, 2025
Merged

[8.0] Don't use string processing on X509 name objects#8091
chrisburr merged 1 commit intoDIRACGrid:rel-v8r0from
sfayer:fix_dn_proc

Conversation

@sfayer
Copy link
Copy Markdown
Member

@sfayer sfayer commented Mar 12, 2025

Hi,

We've found that users with a ',' (comma) character in their DN can't run dirac-proxy-init: it crashes (I'm a little surprised that no-one has run into this before!). This is caused by the splitting of the DN by commas, which then can't find the "=" in one of the sections.

I'm a little dubious about whether this patch is upsetting the M2Crypto SWIG memory management by potentially creating multiple owners of the X509_Name_Entry sub-objects. Maybe @chaen can comment? (Although I guess we'll see if anything crashes in the unit/system tests too...)

Regards,
Simon

Adding @marianne013 as a watcher.

BEGINRELEASENOTES
*Core
FIX: Don't use string processing on X509 name objects
ENDRELEASENOTES

@DIRACGridBot DIRACGridBot added the alsoTargeting:integration Cherry pick this PR to integration after merge label Mar 12, 2025
@chrisburr chrisburr merged commit 03b55ff into DIRACGrid:rel-v8r0 Mar 26, 2025
25 checks passed
@DIRACGridBot DIRACGridBot added the sweep:done All sweeping actions have been done for this PR label Mar 26, 2025
DIRACGridBot pushed a commit to DIRACGridBot/DIRAC that referenced this pull request Mar 26, 2025
@DIRACGridBot
Copy link
Copy Markdown

Sweep summary

Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/14084044485

Successful:

  • integration

maxnoe pushed a commit to maxnoe/DIRAC that referenced this pull request Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alsoTargeting:integration Cherry pick this PR to integration after merge sweep:done All sweeping actions have been done for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants