openbsd-ports/comms/hylafax/patches/patch-hfaxd_FileTransfer_c++
todd d6ed1f2713 Security fix:
Format string bug in hfaxd. pointed out by margarida from securityfocus.
2003-11-11 22:30:34 +00:00

13 lines
399 B
Plaintext

$OpenBSD: patch-hfaxd_FileTransfer_c++,v 1.2 2003/11/11 22:30:34 todd Exp $
--- hfaxd/FileTransfer.c++.orig 1999-11-18 06:18:57.000000000 -0600
+++ hfaxd/FileTransfer.c++ 2003-11-11 16:26:23.000000000 -0600
@@ -556,7 +556,7 @@ HylaFAXServer::storeUniqueCmd(bool isTem
} else
perror_reply(553, filename, errno);
} else
- reply(553, emsg);
+ reply(553, "%s", (const char*)emsg);
}
/*