projects
/
vuplus_xbmc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't append null-terminator to buffer. fixes #13545
[vuplus_xbmc]
/
xbmc
/
interfaces
/
legacy
/
File.cpp
diff --git
a/xbmc/interfaces/legacy/File.cpp
b/xbmc/interfaces/legacy/File.cpp
index
ecc4dcc
..
2ea17bc
100644
(file)
--- a/
xbmc/interfaces/legacy/File.cpp
+++ b/
xbmc/interfaces/legacy/File.cpp
@@
-37,7
+37,7
@@
namespace XBMCAddon
bool File::write(const char* pBuffer)
{
DelayedCallGuard dg(languageHook);
- return file->Write( (void*) pBuffer, strlen( pBuffer )
+ 1
) > 0;
+ return file->Write( (void*) pBuffer, strlen( pBuffer ) ) > 0;
}
}