[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdenetwork/ksirc
From:       Andy Fawcett <andy () athame ! co ! uk>
Date:       2002-12-17 20:58:54
[Download RAW message or body]

CVS commit by fawcett: 

backport of asj's memcpy fix from 1.48 (HEAD)


  M +2 -2      iocontroller.cpp   1.44.2.2


--- kdenetwork/ksirc/iocontroller.cpp  #1.44.2.1:1.44.2.2
@@ -249,5 +249,5 @@ void KSircIOController::stdin_write(QCSt
     }
     send_buf = new char[len];
-    strlcpy(send_buf, buffer.data(), len);
+    memcpy(send_buf, buffer.data(), len);
     if(proc->writeStdin(send_buf, len) == FALSE){
       kdDebug() << "Failed to write but CTS HIGH! Setting low!: " << s << endl;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic