diff options
author | Guanghua Zhang <ghzhang@fiberhome.com> | 2019-08-12 09:04:35 +0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-08-13 20:18:36 +0000 |
commit | 60f16c22b44625d517830b4266a225d3abaccefc (patch) | |
tree | bec646f3e44d60984fbc32e5831896f366aabf4f /src/svm/svmtool.c | |
parent | 5d8a806144fbf46c0575ef24ae081724dfbdbe75 (diff) |
svm: fix svmtool and svmdbtool segment fault.
Type: fix
Signed-off-by: Guanghua Zhang <ghzhang@fiberhome.com>
Change-Id: Ifd3abaa5ec912378dbc7b73c4863aad26777dd7e
Diffstat (limited to 'src/svm/svmtool.c')
-rw-r--r-- | src/svm/svmtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/svm/svmtool.c b/src/svm/svmtool.c index 6d1a2b1da49..643b484bdf5 100644 --- a/src/svm/svmtool.c +++ b/src/svm/svmtool.c @@ -458,6 +458,8 @@ main (int argc, char **argv) char *chroot_path = 0; u8 *chroot_u8; + clib_mem_init_thread_safe (0, 128 << 20); + unformat_init_command_line (&input, argv); while (unformat_check_input (&input) != UNFORMAT_END_OF_INPUT) |