diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-12-04 10:28:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-12-04 10:28:17 +0000 |
commit | 82e8182e3e9aa64ea7f3ef8cc2cd652927f8fb7c (patch) | |
tree | df7ca1b519c7a0f4a516843cf7e945c42bacf665 /URPM.xs | |
parent | b125be1686a6e3ccbc0908ae0af3eacac341b72a (diff) | |
download | perl-URPM-82e8182e3e9aa64ea7f3ef8cc2cd652927f8fb7c.tar perl-URPM-82e8182e3e9aa64ea7f3ef8cc2cd652927f8fb7c.tar.gz perl-URPM-82e8182e3e9aa64ea7f3ef8cc2cd652927f8fb7c.tar.bz2 perl-URPM-82e8182e3e9aa64ea7f3ef8cc2cd652927f8fb7c.tar.xz perl-URPM-82e8182e3e9aa64ea7f3ef8cc2cd652927f8fb7c.zip |
correctly set "\0"
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3033,6 +3033,7 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) p = buff; while ((buff_len = gzread(f, p, sizeof(buff)-1-(p-buff))) >= 0 && (buff_len += p-buff)) { + buff[buff_len] = 0; p = buff; if ((eol = strchr(p, '\n')) != NULL) { do { |