summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
96a9d05)
the regex_match caused a segfault if we had no content-type in the
headers.
{
if (*content_len == 0)
return;
{
if (*content_len == 0)
return;
+ if (!content_type) {
+ yaz_log(YLOG_LOG, "rewrite_body: null content_type, can not rewrite");
+ return;
+ }
std::list<Content>::const_iterator cit = content_list.begin();
for (; cit != content_list.end(); cit++)
{
std::list<Content>::const_iterator cit = content_list.begin();
for (; cit != content_list.end(); cit++)
{