Empty inline files in vfs

Stefan Thöni stefan.thoeni at gapfruit.com
Wed May 29 11:18:41 CEST 2019


Hi Genodians,

I've noticed that reading an empty inline file crashes the vfs but only
when this file is created by an <inline name="test"/> but not when it's
created by an <inline name="test"></inline>. This can be demonstrated
easily be noux's /bin/cat but seems to be true also with respect to
other applications reading such files.

You can test it with the runscript in the following commit:
https://github.com/throwException/genode/commit/1a9fb7a3eb07096158b07252309ec7c473c5798f

Can anyone explain this behavior?

Kind regards
Stefan

-- 
Freundliche Grüsse

Stefan Thöni
Chairman of the Board
Senior Security Architect
+41 79 610 64 95

gapfruit AG
Baarerstrasse 135
6300 Zug
https://gapfruit.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x05D66A288F9939FF.asc
Type: application/pgp-keys
Size: 20575 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20190529/2e60f224/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stefan_thoeni.vcf
Type: text/x-vcard
Size: 173 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20190529/2e60f224/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.genode.org/pipermail/users/attachments/20190529/2e60f224/attachment-0001.sig>


More information about the users mailing list