{"thread":{"id":"11976","subject":"[PATCH] connect.c: guard config parser from value=NULL","startedAt":"2008-02-09T00:35:31Z","lastAt":"2008-02-09T00:35:31Z","messageCount":1,"participants":["Govind Salinas"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"68031","messageId":"5d46db230802081635v2b250aa5i173a1cfba0c06d81@mail.gmail.com","threadId":"11976","inReplyTo":null,"subject":"[PATCH] connect.c: guard config parser from value=NULL","fromName":"Govind Salinas","fromEmail":"blix@sophiasuchtig.com","sentAt":"2008-02-09T00:35:31Z","receivedAt":"2008-02-09T00:35:31Z","isPatch":true,"sender":{"key":"blix@sophiasuchtig.com","avatar":null},"body":"Signed-off-by: Govind Salinas <blix@sophiasuchtig.com>\n---\n connect.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/connect.c b/connect.c\nindex 3aefd4a..90315ff 100644\n--- a/connect.c\n+++ b/connect.c\n@@ -363,7 +363,7 @@ static int rhost_len;\n\n static int git_proxy_command_options(const char *var, const char *value)\n {\n-\tif (!strcmp(var, \"core.gitproxy\")) {\n+\tif (value && !strcmp(var, \"core.gitproxy\")) {\n \t\tconst char *for_pos;\n \t\tint matchlen = -1;\n \t\tint hostlen;\n-- \n1.5.4.36.g9af61\n"}]}