mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Check ofx structure for sanity. Partly fixes #450276.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16209 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1cd71e215b
commit
74365936ac
@ -336,7 +336,10 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data, void * transaction_u
|
||||
xaccSplitSetMemo(split, data.memo);
|
||||
}
|
||||
}
|
||||
else if(data.unique_id_valid==true&&data.security_data_ptr->secname_valid==true)
|
||||
else if(data.unique_id_valid == true
|
||||
&& data.security_data_valid
|
||||
&& data.security_data_ptr != NULL
|
||||
&& data.security_data_ptr->secname_valid == true)
|
||||
{
|
||||
/************************ Process an investment transaction ******************************/
|
||||
/* Note that the ACCT_TYPE_STOCK account type should be replaced with something
|
||||
|
Loading…
Reference in New Issue
Block a user