From: David Levine Date: Fri, 11 Sep 2020 00:55:26 +0000 (-0400) Subject: Fixed memory corruption in post(1) and inc(1) when using XOAUTH2. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/be5ee307cc4ab5db4387fea8d5f6b8caf748ab31?hp=be5ee307cc4ab5db4387fea8d5f6b8caf748ab31 Fixed memory corruption in post(1) and inc(1) when using XOAUTH2. An internal table for the oauth entries was initially sized at 4, and then reallocated if the user had more than 4. However, the reallocation didn't account for the size of the allocated structure. Also, increased the initial size to 16, trading off slightly increased memory usage for performance. Fix to commit 29ff4f879. ---