ddceea5672
* move to qt3 (with PORTHOME quirk for uic3) * add license note * add $OpenBSD$ tag to patch files * update pkg/SECURITY file to reflect reality
13 lines
472 B
Plaintext
13 lines
472 B
Plaintext
$OpenBSD: patch-buffer_cpp,v 1.2 2002/07/17 07:27:02 wilfried Exp $
|
|
--- buffer.cpp.orig Sun May 19 10:23:10 2002
|
|
+++ buffer.cpp Wed Jul 17 09:24:02 2002
|
|
@@ -342,7 +342,7 @@ void XxBuffer::setDirectoryEntries(
|
|
it != _directoryEntries.end();
|
|
++it ) {
|
|
int len = (*it).length();
|
|
- ::strncpy( bufferPtr, (*it).latin1(), len );
|
|
+ ::strlcpy( bufferPtr, (*it).latin1(), len );
|
|
bufferPtr[len] = '\n';
|
|
bufferPtr += len + 1;
|
|
}
|