diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-03-31 18:00:26 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-03-31 18:00:26 +0000 |
commit | 735b61500cc37a7bbd185b29f1ac59b451e11d19 (patch) | |
tree | 8fc38e8859a4f19f6eb125910cf81665abbd0dff /plugins/wimaxasncp | |
parent | 8f429fd919ccf4b1364c8cf67cd931d6befd115b (diff) |
Don't dereference a NULL pointer. Fixes CID 426.
svn path=/trunk/; revision=36424
Diffstat (limited to 'plugins/wimaxasncp')
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index cdd225b5bb..e176822325 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -281,7 +281,7 @@ since_attr since=\042 if (!e) { temp_str = g_strdup_printf( - "cannot find entity: '%s'\n", e->name); + "cannot find entity: '%s'\n", yytext); dict_error = g_string_append(dict_error, temp_str); g_free(temp_str); yyterminate(); |