From 8be025d256ee6bb72fd3f36daa2a1adc4b8011f1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 19 Jun 2002 07:06:04 +0000 Subject: kill sprintf --- lib/libdes/ecb_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libdes/ecb_enc.c') diff --git a/lib/libdes/ecb_enc.c b/lib/libdes/ecb_enc.c index 0d9e71b602e..93dad02ae68 100644 --- a/lib/libdes/ecb_enc.c +++ b/lib/libdes/ecb_enc.c @@ -96,7 +96,7 @@ char *des_options() size="int"; else size="long"; - sprintf(buf,"des(%s,%s,%s,%s)",ptr,risc,unroll,size); + snprintf(buf,sizeof buf,"des(%s,%s,%s,%s)",ptr,risc,unroll,size); } return(buf); } -- cgit v1.2.3