[RndTbl] GnuCash crash on secret payload in XML file

Hartmut W Sager hwsager at marityme.net
Mon Mar 13 18:27:53 CDT 2017


Oooh, thanks, this is valuable!  I will experiment further with what you
did.  And I presume that this is within the specs or design intentions of
GnuCash, so that it should remain usable in further GnuCash versions?

Hartmut W Sager - Tel +1-204-339-8331


On 13 March 2017 at 17:53, Glen Ditchfield <GJDitchfield at acm.org> wrote:

> On Monday, March 13, 2017 3:04:57 AM CDT Hartmut W Sager wrote:
> > so I edited a good GnuCash native XML file by adding a secret payload in
> one
> > existing transaction with <mynewtag>mypayload</mynewtag>, at the same
> level
> > as the other fields of that transaction.
>
> I think you can put arbitrary key-value pairs in <trn:slots>.  I tried a
> quick
> experiment, and
>   <gnc:transaction version="2.0.0">
>     ...
>     <trn:slots>
>       <slot>
>         <slot:key>mystuff</slot:key>
>         <slot:value type="string">mything</slot:value>
>       </slot>
> survived a load-edit-save cycle.
>
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.ca
> https://muug.ca/mailman/listinfo/roundtable
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://muug.ca/pipermail/roundtable/attachments/20170313/30a520d3/attachment.html>


More information about the Roundtable mailing list