OSDN Git Service

* Fixed Bug.
authorAtsushi Konno <konn@users.sourceforge.jp>
Thu, 10 Mar 2011 13:42:03 +0000 (22:42 +0900)
committerAtsushi Konno <konn@users.sourceforge.jp>
Thu, 10 Mar 2011 13:42:03 +0000 (22:42 +0900)
    - not convert image if ``ChxjImageEngine On'' is set without
      ``ChxjConvRule EngineOn''.

src/mod_chxj.c

index f71a661..d303ab1 100644 (file)
@@ -884,7 +884,7 @@ chxj_input_convert(
       if (strlen(result) != 0) 
         result = apr_pstrcat(pool, result, "&", NULL);
 
-      if (strcasecmp(entryp->encoding, "NONE") != 0) {
+      if (entryp && strcasecmp(entryp->encoding, "NONE") != 0) {
         apr_size_t dlen;
         char *dvalue;
         char *dname;