xbmcvfs 'write' bug: storing string null-terminators in the file
#1
Sorry if I come off as pushy as I don't really mean to, however, the API is pretty useless with having to put extra code to strip null bytes that shouldn't be there in the first place.

Essentially all that is needed is to have the '+1' removed from the write line in xbmc/interfaces/legacy/File.cpp

A simple two second change that would make this API actually usable.

Can someone kindly ask the maintainer to repair this prior to Frodo's release.

I'd sign up as a dev and fix it myself but I'm not even remotely knowledgeable enough about XBMC's internals to be helpful, yet.

Original thread from 'Python Dev': http://forum.xbmc.org/showthread.php?tid=145013

Best,
guitardood


EDIT: There is an existing Trac ticket #13545 regarding this issue if anyone can help.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmcvfs 'write' bug: storing string null-terminators in the file0