projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e11140
)
dtcm: Coverity 87364
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 17:52:08 +0000
(18:52 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 17:52:08 +0000
(18:52 +0100)
cde/programs/dtcm/dtcm/group_editor.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/group_editor.c
b/cde/programs/dtcm/dtcm/group_editor.c
index c0517861ca96b2d83e95bf5170e9089c8f1ddf7c..77cb115df24d085aec5d638091f2eda8e1bf6542 100644
(file)
--- a/
cde/programs/dtcm/dtcm/group_editor.c
+++ b/
cde/programs/dtcm/dtcm/group_editor.c
@@
-1690,7
+1690,7
@@
add_to_gaccess_list(
while (ge->access_data && cnt <= ge->access_data->count) {
new_data = (Access_data *)
CmDataListGetData(ge->access_data, cnt);
- if (strcmp(new_data->name, name) == 0) {
+ if (
new_data &&
strcmp(new_data->name, name) == 0) {
XmListDeselectPos(ge->access_list, cnt);
if (select_val)
XmListSelectPos(ge->access_list, cnt, True);