Skip to content
Snippets Groups Projects
Commit c79ec65b authored by rswindell's avatar rswindell
Browse files

Added comment regarding exception due to lazy property creation not checking

for NULL strring.
parent a8896fa8
No related branches found
No related tags found
No related merge requests found
......@@ -738,6 +738,7 @@ static JSBool js_get_msg_header_resolve(JSContext *cx, JSObject *obj, jsval id)
LAZY_INTEGER_EXPAND("to_net_type", p->msg.to_net.type);
LAZY_STRING_COND("to_net_addr", p->msg.to_net.type, smb_netaddr(&(p->msg).to_net));
LAZY_INTEGER_EXPAND("from_net_type", p->msg.from_net.type);
/* exception here because p->msg.from_net is NULL */
LAZY_STRING_COND("from_net_addr", p->msg.from_net.type, smb_netaddr(&(p->msg).from_net));
LAZY_INTEGER_EXPAND("replyto_net_type", p->msg.replyto_net.type);
LAZY_STRING_COND("replyto_net_addr", p->msg.replyto_net.type, smb_netaddr(&(p->msg).replyto_net));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment