projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bff72b
)
emotion: fix off by one.
author
Cedric BAIL
<cedric.bail@free.fr>
Tue, 5 Jul 2011 11:02:28 +0000
(11:02 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Tue, 5 Jul 2011 11:02:28 +0000
(11:02 +0000)
SVN revision: 61039
legacy/emotion/src/lib/emotion_smart.c
patch
|
blob
|
history
diff --git
a/legacy/emotion/src/lib/emotion_smart.c
b/legacy/emotion/src/lib/emotion_smart.c
index
54ee495
..
6b14811
100644
(file)
--- a/
legacy/emotion/src/lib/emotion_smart.c
+++ b/
legacy/emotion/src/lib/emotion_smart.c
@@
-1030,7
+1030,7
@@
_eio_load_xattr_done(void *data, Eio_File *handler, const char *xattr_data, unsi
{
Smart_Data *sd = data;
- if (xattr_size < 128 && xattr_data[xattr_size] == '\0')
+ if (xattr_size < 128 && xattr_data[xattr_size
- 1
] == '\0')
{
long long int m = 0;
long int e = 0;