[PATCH] tpm, tpm_infineon: remove useless snprintf() calls
Jarkko Sakkinen
jarkko.sakkinen at linux.intel.com
Thu May 25 16:44:16 UTC 2017
On Thu, May 25, 2017 at 07:29:05AM +0200, Peter Huewe wrote:
> > The memory copy from rodata to stack is useless.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
>
> After review, yes that should work.
> Reviewed-by: Peter Huewe <peterhuewe at gmx.de>
Yes, the string gets stored to rodata section where it is copied to
stack :-)
Thanx!
/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list