Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fdbd21a4
Commit
fdbd21a4
authored
Jan 23, 2011
by
Werner Meisner
Committed by
Chong Yidong
Jan 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).
parent
e6cf7a82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lwlib/ChangeLog
lwlib/ChangeLog
+5
-0
lwlib/lwlib-Xm.c
lwlib/lwlib-Xm.c
+1
-1
No files found.
lwlib/ChangeLog
View file @
fdbd21a4
2011-01-23 Werner Meisner <weme24@gmx.net>
* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference
(Bug#7690).
2010-05-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.2 released.
...
...
lwlib/lwlib-Xm.c
View file @
fdbd21a4
...
...
@@ -825,7 +825,7 @@ xm_update_menu (instance, widget, val, deep_p)
/* Now replace from scratch all the buttons after the last
place that the top-level structure changed. */
if
(
val
->
contents
->
change
==
STRUCTURAL_CHANGE
)
if
(
val
->
contents
&&
val
->
contents
->
change
==
STRUCTURAL_CHANGE
)
{
destroy_all_children
(
widget
,
num_children_to_keep
);
make_menu_in_widget
(
instance
,
widget
,
val
->
contents
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment