Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a crash bug related to copying strings #181

Merged

Conversation

MattCarothers
Copy link
Contributor

Fixes this:

Traceback (most recent call last):
  File "ja4.py", line 584, in <module>
    main()
  File "ja4.py", line 562, in main
    to_ja4x(x, STREAM)
  File "/tmp/ja4/python/ja4x.py", line 54, in to_ja4x
    certs = x['printable_certs'].copy()
AttributeError: 'str' object has no attribute 'copy'

@john-althouse john-althouse merged commit 3f37b93 into FoxIO-LLC:main Nov 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants