(not on list, cc on replies) The documentation within include/apr_getopt.h says that the name argument within the option structure should be NULL if a long name is not present - but it performs a strlen on that value without checking for NULL. -David Waite