]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix access to stack value
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 15 May 2017 06:29:54 +0000 (06:29 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 15 May 2017 06:29:54 +0000 (06:29 +0000)
commit368d025eca65041d1187041b6a5e1d3e828807c2
tree18ab79874206e8ffee6ed217d8758ee217c7bafa
parent56afaa8bcbe59b62faff57546359df89c7b6fb4a
lib: fix access to stack value

Passing stack value to thread_add_* causes thread->ref to become an
invalid pointer when the value goes out of scope

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/thread.c
lib/vty.c