projects
/
platform
/
core
/
api
/
vine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b8270
)
Fix a crash issue
57/265257/1
accepted/tizen/6.5/unified/20211028.095702
accepted/tizen/unified/20211013.114638
submit/tizen/20211013.083056
submit/tizen_6.5/20211028.161801
tizen_6.5.m2_release
author
Seonah Moon
<seonah1.moon@samsung.com>
Wed, 13 Oct 2021 08:25:15 +0000
(17:25 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Wed, 13 Oct 2021 08:25:25 +0000
(17:25 +0900)
Change-Id: Id36d4f16af7db555168b4f3cdc7ebad7c1584119
src/vine-disc.cpp
patch
|
blob
|
history
diff --git
a/src/vine-disc.cpp
b/src/vine-disc.cpp
index
cc994ff
..
8d092bd
100755
(executable)
--- a/
src/vine-disc.cpp
+++ b/
src/vine-disc.cpp
@@
-298,7
+298,7
@@
void __vine_disc_epoll_handler(int fd, int events, void *user_data)
{
VINE_LOGD("Process event for fd[%d] events[%d] disc_handle[%p]", fd, events, user_data);
vine_disc_s *disc_handle = (vine_disc_s *)user_data;
- if (disc_handle->plugin_fn->process_event == NULL) {
+ if (
!disc_handle || !disc_handle->plugin_fn ||
disc_handle->plugin_fn->process_event == NULL) {
VINE_LOGE("No process_event() defined");
return;
}