projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
cefa03b
)
libmemcached-1.0: fix subscripting on empty vector
author
Michael Wallner
<mike@php.net>
Tue, 14 Jan 2020 12:13:42 +0000
(13:13 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 14 Jan 2020 12:13:42 +0000
(13:13 +0100)
libmemcached-1.0/memcached.hpp
patch
|
blob
|
history
diff --git
a/libmemcached-1.0/memcached.hpp
b/libmemcached-1.0/memcached.hpp
index 6500c0abc2b98df44a3b7971284a309be3282676..9e3051c4d003cc62271f7bc4ad4a6f29df880da8 100644
(file)
--- a/
libmemcached-1.0/memcached.hpp
+++ b/
libmemcached-1.0/memcached.hpp
@@
-399,7
+399,7
@@
public:
{
memcached_return_t rc= memcached_set(memc_,
key.c_str(), key.length(),
-
&value[0]
, value.size(),
+
value.data()
, value.size(),
expiration, flags);
return memcached_success(rc);
}