Fix crash in mate::Converter<const net::URLRequest*>::ToV8
authorMilan Burda <miburda@microsoft.com>
Wed, 24 Feb 2016 13:01:26 +0000 (14:01 +0100)
committerMilan Burda <miburda@microsoft.com>
Wed, 24 Feb 2016 13:01:26 +0000 (14:01 +0100)
commitd2b48b2aa7ff7ed3bb257f96ef0ed6d46c4c28b9
tree1a8bef20283a158ebfa74a35541e2bcc27336ea0
parentf3c7965cea9efd6b4b1c012a4c0e43430fbcc7c8
Fix crash in mate::Converter<const net::URLRequest*>::ToV8

The net::URLRequest::url() method calls vector<GURL>::back(), which is undefined when the url_chain is empty
atom/common/native_mate_converters/net_converter.cc