projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47e925
)
don't append null-terminator to buffer. fixes #13545
author
ronie
<ronie@poedel.net>
Tue, 8 Jan 2013 20:51:57 +0000
(21:51 +0100)
committer
ronie
<ronie@poedel.net>
Tue, 8 Jan 2013 20:51:57 +0000
(21:51 +0100)
xbmc/interfaces/legacy/File.cpp
patch
|
blob
|
history
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;
}
}