We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Other
Archlinux
31.0.1
No response
https://0x0.st/8TfN.txt
Not leak of FILE descriptor and do not using nullptr in memset (defined behavior).
Leak of FILE descriptor and using nullptr in memset (undefined behavior).
obs-studio/deps/libcaption/src/utf8.c
Line 207 in 73725c2
malloc
nullptr
Line 206 in 73725c2
The behavior is undefined if dest is a null pointer.
Line 197 in 73725c2
FILE is closed in the if closure only:
Line 219 in 73725c2
The text was updated successfully, but these errors were encountered:
libcaption is a depedency, please report upstream: https://github.com/szatmary/libcaption
Sorry, something went wrong.
maybe this dependency needs to be released?? (the last update is a7666c1 · 7 years ago)
That has definitely been a consideration, yes.
this dependency is hardcode for this project -- maybe we should fix everything there ourselves?
No branches or pull requests
Operating System Info
Other
Other OS
Archlinux
OBS Studio Version
31.0.1
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://0x0.st/8TfN.txt
OBS Studio Crash Log URL
No response
Expected Behavior
Not leak of FILE descriptor and do not using nullptr in memset (defined behavior).
Current Behavior
Leak of FILE descriptor and using nullptr in memset (undefined behavior).
Steps to Reproduce
Anything else we should know?
obs-studio/deps/libcaption/src/utf8.c
Line 207 in 73725c2
but
malloc
can returnnullptr
:obs-studio/deps/libcaption/src/utf8.c
Line 206 in 73725c2
https://en.cppreference.com/w/c/string/byte/memset
obs-studio/deps/libcaption/src/utf8.c
Line 197 in 73725c2
FILE is closed in the if closure only:
obs-studio/deps/libcaption/src/utf8.c
Line 219 in 73725c2
The text was updated successfully, but these errors were encountered: