diff options
author | Martin Szulecki | 2013-02-18 02:02:23 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-18 02:02:23 +0100 |
commit | 64c3d91fff4f00b03a99963ebead557af5255fa5 (patch) | |
tree | 20c511c65e20f6eb3d49c52bdb272594790c0b23 /libcsoap | |
parent | f1ec18b6fce73f7346cf4265211721a30787b1ce (diff) | |
download | csoap-64c3d91fff4f00b03a99963ebead557af5255fa5.tar.gz csoap-64c3d91fff4f00b03a99963ebead557af5255fa5.tar.bz2 |
Fix segfault due to bad sprintf() usage
Diffstat (limited to 'libcsoap')
-rw-r--r-- | libcsoap/soap-addressing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcsoap/soap-addressing.c b/libcsoap/soap-addressing.c index 53ec0b4..aae6e94 100644 --- a/libcsoap/soap-addressing.c +++ b/libcsoap/soap-addressing.c @@ -137,7 +137,7 @@ _soap_addressing_generate_id(void) } pthread_mutex_lock(&counter_lock); - sprintf("%s/%li", soap_server_get_name(), counter); + sprintf(ret, "%s/%li", soap_server_get_name(), counter); pthread_mutex_unlock(&counter_lock); return ret; |