ficl: use snprintf with command_errbuf
commitae864fb371636ee5657502af7242752cd0db070f
authorToomas Soome <tsoome@me.com>
Thu, 18 Aug 2016 11:16:12 +0000 (18 14:16 +0300)
committerToomas Soome <tsoome@me.com>
Thu, 18 Aug 2016 11:16:12 +0000 (18 14:16 +0300)
tree71b2d1d89f25835138c414e29a3e5b1e5d57930a
parent2c9830a7e3bc3e8e4bfc137fdaaba11776db8389
ficl: use snprintf with command_errbuf

The loader code to fill up command_errbuf was using sprintf on static buffer,
which is easy to overflow.
usr/src/common/ficl/emu/loader_emu.c