LINUX.ORG.RU

История изменений

Исправление xtouqh, (текущая версия) :

В нашей freebsd есть:

Like explicit_bzero(3), memset_s() is not removed through Dead Store Elimination (DSE), making it useful for clearing sensitive data.  In contrast memset() function may be optimized away if the object modified by the function is not accessed again.  To clear memory that will not subsequently be accessed it is advised to use memset_s() instead of memset().

Исходная версия xtouqh, :

В нашей freebsd есть (и это я туда добавил :) ):

Like explicit_bzero(3), memset_s() is not removed through Dead Store Elimination (DSE), making it useful for clearing sensitive data.  In contrast memset() function may be optimized away if the object modified by the function is not accessed again.  To clear memory that will not subsequently be accessed it is advised to use memset_s() instead of memset().