[PATCH] [Msan] Fix the if_indextoname.cc test to pass on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Fri May 8 05:08:19 PDT 2015


> Maybe change the if_indextoname interceptor to poison this area?


I would expect all functions handling buffers of specified sizes behave consistently in this regard. I mean, given strncpy() unpoisons its destination buffer all over its size, then probably if_indextoname() should do the same.


http://reviews.llvm.org/D9456

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list