{"action":"created","issue":{"url":"https://api.github.com/repos/geneweb/geneweb/issues/423","repository_url":"https://api.github.com/repos/geneweb/geneweb","labels_url":"https://api.github.com/repos/geneweb/geneweb/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/geneweb/geneweb/issues/423/comments","events_url":"https://api.github.com/repos/geneweb/geneweb/issues/423/events","html_url":"https://github.com/geneweb/geneweb/issues/423","id":182617668,"number":423,"title":"gwd 7 crashes or can't find bases under Windows with absolute paths","user":{"login":"ipfix","id":5786186,"avatar_url":"https://avatars1.githubusercontent.com/u/5786186?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfix","html_url":"https://github.com/ipfix","followers_url":"https://api.github.com/users/ipfix/followers","following_url":"https://api.github.com/users/ipfix/following{/other_user}","gists_url":"https://api.github.com/users/ipfix/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfix/subscriptions","organizations_url":"https://api.github.com/users/ipfix/orgs","repos_url":"https://api.github.com/users/ipfix/repos","events_url":"https://api.github.com/users/ipfix/events{/privacy}","received_events_url":"https://api.github.com/users/ipfix/received_events","type":"User","site_admin":false},"labels":[{"id":65436863,"url":"https://api.github.com/repos/geneweb/geneweb/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-12T19:52:06Z","updated_at":"2017-05-01T03:20:45Z","closed_at":null,"body":"<a href=\"https://github.com/a2line\"><img src=\"https://avatars.githubusercontent.com/u/10353895?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [a2line](https://github.com/a2line)**\n_Wednesday Mar 09, 2016 at 13:23 GMT_\n_Originally opened as https://github.com/geneweb/geneweb_tmp/issues/12_\n\n---\n\nUnder Apache 2.4 (Windows 7 x64), I have a dir /cgi-bin/ like this:\ngwd6.exe > 6.07\ngwd6.arg\ngwd6b.exe > 6.08 (“new” one, with Ocaml 4.02.3)\ngwd6b.arg\ngwd7a.exe > 7.00 alpha\ngwd7a.arg\ngwd7.exe > 7.00 last build from master\ngwd7.arg\n\nTo simplify the test, I made all .arg strictly identical containing only `-cgi`. If it works, we see the page requesting for base name (http://localhost/cgi-bin/gwd.exe). And with this little .arg every version work, but we need more lines in .arg to reach our databases. And there it is if I go back to a .arg with definitions of paths for bases/hd like this one:\n\n```\n-hd\nF:\\GW7\\gw\n-bd\nF:\\GW7\\bases\n-cgi\n```\n\n6.07 and 7.00a work (Ocaml 3.12) but 6.08 and 7.00 crash (Ocaml 4.02) : when making a request from the browser, gwd take more and more memory (growing very quickly, about 200 Mo/s, and it nearly freezes the computer if the task is not killed quickly).\n\nIf I try with quotes for directories for e.g. `\"F:\\GW7\\gw\"` it doesn't crash anymore, but it still can't find the bases. On the contrary, previous versions can't find bases if we add those quotes…\n"},"comment":{"url":"https://api.github.com/repos/geneweb/geneweb/issues/comments/298279814","html_url":"https://github.com/geneweb/geneweb/issues/423#issuecomment-298279814","issue_url":"https://api.github.com/repos/geneweb/geneweb/issues/423","id":298279814,"user":{"login":"GuillaumeBrochu","id":11491888,"avatar_url":"https://avatars0.githubusercontent.com/u/11491888?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeBrochu","html_url":"https://github.com/GuillaumeBrochu","followers_url":"https://api.github.com/users/GuillaumeBrochu/followers","following_url":"https://api.github.com/users/GuillaumeBrochu/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeBrochu/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeBrochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeBrochu/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeBrochu/orgs","repos_url":"https://api.github.com/users/GuillaumeBrochu/repos","events_url":"https://api.github.com/users/GuillaumeBrochu/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeBrochu/received_events","type":"User","site_admin":false},"created_at":"2017-05-01T03:20:45Z","updated_at":"2017-05-01T03:20:45Z","body":"More info about the purpose of this Secure.open function:\r\nhttps://github.com/geneweb/geneweb/blob/ca236c2b7631a32af4bbb1c6a7123c4e017f1f71/CHANGES#L508-L518\r\nhttps://www.debian.org/security/2003/dsa-223\r\nhttp://www.cvedetails.com/cve/CVE-2002-1390/\r\n\r\n\r\nThe history of this file also reveals that a similar modification in Secure.decompose was made in March and May 2005:\r\nhttps://github.com/geneweb/geneweb/commits/ca236c2b7631a32af4bbb1c6a7123c4e017f1f71/src/secure.ml\r\nMarch 2005 : https://github.com/geneweb/geneweb/commit/02b1c1426eddd741db6e88a6f55f134c9a393325\r\nMay 2005 : https://github.com/geneweb/geneweb/commit/a3840648f70ff9e75d771627f8ec4c9cc289318b\r\n"}}
{"actor":{"display_login":"GuillaumeBrochu"}}