<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -346,7 +346,9 @@ upload_progress_node_t *store_node(ServerConfig *config, const char *key) {
   
   block = apr_rmm_calloc(config-&gt;cache_rmm, strlen(key)+1);
   node-&gt;key = block ? (char *)apr_rmm_addr_get(config-&gt;cache_rmm, block) : NULL;
-  sprintf(node-&gt;key, &quot;%s\0&quot;, key);
+  if(node-&gt;key != NULL) {
+    sprintf(node-&gt;key, &quot;%s\0&quot;, key);
+  }
   return node;
 }
 </diff>
      <filename>mod_upload_progress.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9a206ba24adb8a071c4e5f7c1ffdfeb63c4ba103</id>
    </parent>
  </parents>
  <author>
    <name>Piotr Sarnacki</name>
    <email>drogus@gmail.com</email>
  </author>
  <url>http://github.com/drogus/apache-upload-progress-module/commit/dfb0563a919ae47a09308c8be67014de4ded942f</url>
  <id>dfb0563a919ae47a09308c8be67014de4ded942f</id>
  <committed-date>2008-07-02T09:50:21-07:00</committed-date>
  <authored-date>2008-07-02T09:50:21-07:00</authored-date>
  <message>Don't copy key if there was error with allocating memory</message>
  <tree>4abffd70cb2584a8b6405f1fbfe5144d479935cf</tree>
  <committer>
    <name>Piotr Sarnacki</name>
    <email>drogus@gmail.com</email>
  </committer>
</commit>
