projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb218f4
)
Fix 055255aa5575b3eb6edb9a43fafbdabc76249bce. attr_klass can be NULL.
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 11 Oct 2011 01:47:09 +0000
(
03:47
+0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 11 Oct 2011 01:49:52 +0000
(
03:49
+0200)
mono/mini/debugger-agent.c
patch
|
blob
|
history
diff --git
a/mono/mini/debugger-agent.c
b/mono/mini/debugger-agent.c
index 2faca67fcaa97c93dea7c61c6312323eed3afa62..22bd9d5eed3e8fb54ae5743bc7510ba3e51e3c3d 100644
(file)
--- a/
mono/mini/debugger-agent.c
+++ b/
mono/mini/debugger-agent.c
@@
-6517,7
+6517,8
@@
type_commands_internal (int command, MonoClass *klass, MonoDomain *domain, guint
MonoCustomAttrInfo *cinfo;
attr_klass = decode_typeid (p, &p, end, NULL, &err);
- if (!attr_klass)
+ /* attr_klass can be NULL */
+ if (err)
return err;
cinfo = mono_custom_attrs_from_class (klass);