Closed evverx closed 2 years ago
Yeah, I saw those and I cannot make sense of them. c_dvar_end_write()
returns the data pointer and resets the internal pointer to NULL, unconditionally. So the situation the report talks about c_dvar_deinit()
, the pointer is already cleared and it cannot have any effect. I am really unsure what this was triggered by.
My guess would be that https://github.com/c-util/c-dvar/commit/383d803686b9c3cb8eba31a8a3bd3e5e82b84593 somehow triggered it. It seems to be the only commit where c_dvar_end_write
was changed as far as I can see.
c_dvar_write_data
was changed there apparently so it shouldn't have triggered that either.
I'll go ahead and close it because it appears to be a false positive. Thanks!
I'm not sure if it's a false positive or not but those warnings weren't there 5 days ago and popped up today when I sent the latest version of dbroker to Coverity. The full report can be found at https://scan.coverity.com/projects/dbus-broker but those warnings generally look like