Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 304 prompt_string is currently a stack-allocated array, so it has to be a fixed length. The length can't be all that big, since threads can have constrained stack sizes in some circumstances. We should remove this limitation by changing prompt_string to a pointer and using asprintf instead of snprintf.