diff options
author | Sverker Eriksson <[email protected]> | 2017-08-28 18:40:43 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-08-28 18:40:43 +0200 |
commit | 11ee8c813ac824015a85d51fb455b31bab6f648c (patch) | |
tree | 9a1734e6787f4c8079f79a76bcff7ed71c6ca062 /erts/emulator | |
parent | 3bc5c3b35b3151143dffe94290c9ddf29b1b10d6 (diff) | |
download | otp-11ee8c813ac824015a85d51fb455b31bab6f648c.tar.gz otp-11ee8c813ac824015a85d51fb455b31bab6f648c.tar.bz2 otp-11ee8c813ac824015a85d51fb455b31bab6f648c.zip |
erts: Fix harmless use of uninitialised value
Conditional jump or move depends on uninitialised value(s):
erts_msgq_update_internal_pointers:487 (-> 0x5A7AF9) [erl_message.h]
erts_msgq_replace_msg_ref:496 (-> 0x5A7B4C) [erl_message.h]
move_msgq_to_heap:2487 (-> 0x5AED4F) [erl_gc.c]
minor_collection:1380 (-> 0x5AB3F4) [erl_gc.c]
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 63c838a91d..6ad686dab2 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -12512,6 +12512,7 @@ erl_create_process(Process* parent, /* Parent of process (default group leader). p->msg.first = NULL; p->msg.last = &p->msg.first; p->msg.save = &p->msg.first; + p->msg.saved_last = &p->msg.first; p->msg.len = 0; #ifdef ERTS_SMP p->msg_inq.first = NULL; |