X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2f67d29b0c3de8618983055e811e70ee36662f4a..3bbce699ee1a5dbbe37806aee7afcc615ecc6ebe:/methods/rsh.cc diff --git a/methods/rsh.cc b/methods/rsh.cc index d249ae961..fb3782314 100644 --- a/methods/rsh.cc +++ b/methods/rsh.cc @@ -42,7 +42,9 @@ int RSHMethod::FailFd = -1; // --------------------------------------------------------------------- /* */ RSHConn::RSHConn(URI Srv) : Len(0), WriteFd(-1), ReadFd(-1), - ServerName(Srv), Process(-1) {} + ServerName(Srv), Process(-1) { + Buffer[0] = '\0'; +} /*}}}*/ // RSHConn::RSHConn - Destructor /*{{{*/ // ---------------------------------------------------------------------