X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=acconfig.h;h=3ead528552cc01b2ac458f435f58e4c10dd19916;hp=17273022142cf5a67d59ebf1cd57f788a40af1aa;hb=bc730637ae2abc44a1e1013bc64d85a92923cf6e;hpb=4923f5a1c9b32a801a66a4ac458b401207b7d7ac diff --git a/acconfig.h b/acconfig.h index 1727302..3ead528 100644 --- a/acconfig.h +++ b/acconfig.h @@ -47,6 +47,11 @@ #define STRSIGNAL(x) "[platform has no strsignal!]" #endif +/* VSNPRINTF */ +#ifndef HAVE_VSNPRINTF +# error "You must have vsnprintf! Without vsnprintf it is very hard to write secure programs. If you don't have it then your system libc is probably full of hideous buffer overrun security bugs. But, if you don't want to fix your system a portable snprintf can be found at http://www.ijs.si/software/snprintf/" +#endif + /* EPROTO */ #ifndef HAVE_EPROTO #define EPROTO 0