dead, so keep patches locally. On top of that, fix linker warnings about unsave string operations. Take maintainer. OK ajacoutot@
13 lines
527 B
Plaintext
13 lines
527 B
Plaintext
$OpenBSD: patch-rtspproxy_proxysession_cpp,v 1.1 2015/07/01 11:33:50 bluhm Exp $
|
|
--- rtspproxy/proxysession.cpp.orig Thu Feb 8 01:07:28 2001
|
|
+++ rtspproxy/proxysession.cpp Thu Jan 8 00:10:40 2015
|
|
@@ -239,7 +239,7 @@ void CRtspProxySession::SetSessionID( const CString& s
|
|
m_clientSessionID = strSessionID;
|
|
|
|
char szSessionIndex[20];
|
|
- sprintf( szSessionIndex, "%u", sessionIndex );
|
|
+ snprintf( szSessionIndex, sizeof(szSessionIndex), "%u", sessionIndex );
|
|
m_clientSessionID.Append( szSessionIndex );
|
|
}
|
|
|