Memory leak in otrl_message_sending
(Line numbers refer to commit 3172d79b)
- In otrl_message_sending, *messagep is set to point to malloc()ed buffer (lines 279, 293, 324, 362, 395, 407, 428).
- It is then passed to fragment_and_send - *messagep as message and messagep as returnFragment (line 444).
- In some circumstances *returnfragment (=*messagep) is set to point to a result of strdup(), overwriting the pointer to the original buffer (lines 104, 116, 132).
- The original buffer isn't freed in either of these functions.
(from redmine: created on 2014-04-22, closed on 2014-10-14)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information