Public
Authored by Michael Gratton

segfault dereferencing err.message in a catch clause

lines 145-147 of geary-attachment.vala:

} catch (Error err) {
    debug("Error guessing attachment data content type: %s", err.message);
}

generated c for line 146:

#line 146 "../src/engine/api/geary-attachment.vala"
				_data_->_tmp38_ = _data_->err;
#line 146 "../src/engine/api/geary-attachment.vala"
				_data_->_tmp39_ = _data_->_tmp38_->message;
#line 146 "../src/engine/api/geary-attachment.vala"
				g_debug ("geary-attachment.vala:146: Error guessing attachment data content type" \
": %s", _data_->_tmp39_);
stack trace 2.26 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment