Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 73759 | Differences between
and this patch

Collapse All | Expand All

(-)kioslave/ftp/ftp.cc (+8 lines)
Lines 652-657 bool Ftp::ftpSendCmd( const QCString& cm Link Here
652
{
652
{
653
  assert( sControl > 0 );
653
  assert( sControl > 0 );
654
654
655
  if ( cmd.find( '\r' ) != -1 || cmd.find( '\n' ) != -1)
656
  {
657
    kdWarning(7102) << "Invalid command received (contains CR or LF): "
658
                    << cmd.data() << endl;
659
    error( ERR_UNSUPPORTED_ACTION, m_host );
660
    return false;
661
  }
662
655
  QCString buf = cmd;
663
  QCString buf = cmd;
656
  buf += "\r\n";
664
  buf += "\r\n";
657
665

Return to bug 73759