diff options
author | Michael Schroeder <mls@suse.de> | 2013-10-25 14:06:21 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-10-25 14:06:21 +0200 |
commit | 6289a1aa74db6eab63b17640d8008705423adc64 (patch) | |
tree | 3f3ba2129e2ec847742a1f18ecc1fe413bd8230c /src | |
parent | 3544498a8def70b4094c2fbbb7421abbac1cc6ea (diff) | |
download | libsolv-6289a1aa74db6eab63b17640d8008705423adc64.tar.gz libsolv-6289a1aa74db6eab63b17640d8008705423adc64.tar.bz2 libsolv-6289a1aa74db6eab63b17640d8008705423adc64.zip |
terminate solvable2str() string when there is no arch
Diffstat (limited to 'src')
-rw-r--r-- | src/solvable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/solvable.c b/src/solvable.c index 108d2f0..eeb7b35 100644 --- a/src/solvable.c +++ b/src/solvable.c @@ -51,6 +51,7 @@ pool_solvable2str(Pool *pool, Solvable *s) { p[nl++] = '-'; strncpy(p + nl, e, el); + p[nl + el] = 0; } if (al) { |