Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Plugins
pidgin-otr
Commits
f32a2fdf
Commit
f32a2fdf
authored
May 03, 2012
by
Rob Smits
Browse files
* otr-plugin.c: In otrg_plugin_conv_to_selected_instag,
ensure conv is not NULL before dereferencing.
parent
ef440e0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
otr-plugin.c
View file @
f32a2fdf
...
...
@@ -898,8 +898,8 @@ otrl_instag_t otrg_plugin_conv_to_selected_instag(PurpleConversation *conv,
{
otrl_instag_t
selected_instance
;
if
(
!
g_hash_table_lookup_extended
(
conv
->
data
,
"otr-ui_selected_ctx"
,
NULL
,
(
void
**
)
&
selected_instance
))
{
if
(
!
conv
||
!
g_hash_table_lookup_extended
(
conv
->
data
,
"otr-ui_selected_ctx"
,
NULL
,
(
void
**
)
&
selected_instance
))
{
selected_instance
=
default_val
;
}
...
...
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