On Mon, Jun 13, 2022 at 08:39:11PM +0200, Marko Bauhardt wrote:
Or can you give me a hint which files are related for fetching mails. With this Info I could try to add logging by my own.

it's all in drv_imap.c, but you'll find that the observed behavior makes no sense whatsoever given the directly involved code. it is notable that the actually sent data is consistent with the debug output, so it must be getting corrupted latest when the command string is generated. i suppose one way to debug this would be inspecting the format string in line 3193 and seeing whether it got corrupted. if so, set a data breakpoint on it and re-run. if not, then something may be really wrong with xvasprintf() (a second person should review that code anyway).

anyway, it occurs to me that modern gcc and clang versions have some built-in memory debugger functionality - so recompiling with --sanitize=address or something similar might actually get us ahead.


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to