Replies: 1 comment 1 reply
-
C has no runtime, so it should be fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on integrating libsodium into a Windows program and noticed that the static library build statically links to the C runtime. The program itself dynamically links against the C runtime, so if I use the static library I think this will result in the program running with 2 C runtimes - 1 statically linked into libsodium and 1 for the rest of the program, which dynamically links to the C runtime.
Is this setup generally safe for use with libsodium? I currently use libsodium's signature verification and base64 functions, and I think those read/write into user-provided buffers, so I don't think those would run into the main pitfalls described in this comment. Are there any other potential issues I should be aware of?
Beta Was this translation helpful? Give feedback.
All reactions