tripwire/pipedmailmessage.patch
cvsextras f43a61c39d auto-import changelog data from tripwire-2.3.1-20.fdr.1.1.src.rpm
2.3.1-20.fdr.1
- Revision bump to supersede Fedora Legacy
- Fixed a bogus entry in twpol.txt.in (modeprobe.conf -> modprobe.conf)
2.3.1-18.fdr.9
- Applied Paul Herman's patch to fix a format string vulnerability in
    pipedmailmessage.cpp
2.3.1-18.fdr.8
- Default policy overhaul
- Spec cleanup
2.3.1-18.fdr.7
- Moved documentation data out of package description
2.3.1-18.fdr.6
- Removed explicit Buildrequires gcc-c++
2.3.1-18.fdr.5
- Finally moved twinstall.sh from the sysconfdir to the sbindir, since it
    is not a configuration file. Fixes Red Hat bug #61855
- Renamed twinstall.sh to tripwire-setup-keyfiles, since the name is
    misleading. It is setting up keyfiles, not installing an application
- Minor correction to twinstall.sh (now tripwire-setup-keyfiles), which
    made an incorrect reference to the site key rather than the local key
- Long overdue default policy update
- Added explicit Buildrequires gcc-c++, to satisfy mach
2.3.1-18.fdr.4
- Fixed siggen.8 man page, broken command synopsis syntax. Submitted by
    doclifter
- Set real hostname in post, so Tripwire works first time, without editing
    twpol.txt
- More accurate package summary
- Spec cleanup
2004-11-08 05:29:09 +00:00

11 lines
488 B
Diff

--- tripwire-2.3.1-2/src/tripwire/pipedmailmessage.cpp 2004-06-10 03:34:08.000000000 +0100
+++ tripwire-2.3.1-2/src/tripwire/pipedmailmessage.cpp.new 2004-06-10 03:38:52.000000000 +0100
@@ -180,7 +180,7 @@
void cPipedMailMessage::SendString( const TSTRING& s )
{
- if( _ftprintf( mpFile, s.c_str() ) < 0 )
+ if( _ftprintf( mpFile, "%s", s.c_str() ) < 0 )
{
TOSTRINGSTREAM estr;
estr << TSS_GetString( cTripwire, tripwire::STR_ERR2_MAIL_MESSAGE_COMMAND )