Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CID 401: STRING_OVERFLOW in ptload #1434
From: Greg Banks
Found by Coverity. A string from the imapd.conf file is copied into a fixed size data structure with the only length check being strncpy(), which might leave an unterminated string.
427 fname = libcyrus_config_getstring(CYRUSOPT_PTLOADER_SOCK);