aboutsummaryrefslogtreecommitdiffstats
path: root/vsnprintf.c
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-24 14:53:47 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-26 15:59:40 +0900
commit504ce460d240b5b726e77c0b0915677892a19e58 (patch)
tree0d7df072238f624d2e568fd6653c8da64d69c797 /vsnprintf.c
parentb11b26bcaf711ad01d1a81943cca42f7ff40bfee (diff)
downloadruby-504ce460d240b5b726e77c0b0915677892a19e58.tar.gz
give up sanitizing BSD_vfprintf
Sanitizers report something inside of this function but it is beyond my brain capacity. Also the code is proven to work. Let me ignore.
Diffstat (limited to 'vsnprintf.c')
-rw-r--r--vsnprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vsnprintf.c b/vsnprintf.c
index 04184d7a6a..bb77e3d1be 100644
--- a/vsnprintf.c
+++ b/vsnprintf.c
@@ -535,6 +535,7 @@ static int exponent(char *, int, int);
#define SHORTINT 0x040 /* short integer */
#define ZEROPAD 0x080 /* zero (as opposed to blank) pad */
#define FPT 0x100 /* Floating point number */
+ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(static ssize_t BSD_vfprintf(FILE *fp, const char *fmt0, va_list ap));
static ssize_t
BSD_vfprintf(FILE *fp, const char *fmt0, va_list ap)
{