Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/812809/?format=api
{ "id": 812809, "url": "http://patchwork.ozlabs.org/api/patches/812809/?format=api", "web_url": "http://patchwork.ozlabs.org/project/swupdate/patch/20170912114910.15684-1-christian.storm@siemens.com/", "project": { "id": 58, "url": "http://patchwork.ozlabs.org/api/projects/58/?format=api", "name": "swupdate development", "link_name": "swupdate", "list_id": "swupdate.googlegroups.com", "list_email": "swupdate@googlegroups.com", "web_url": "https://github.com/sbabic/swupdate", "scm_url": "git://github.com/sbabic/swupdate", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170912114910.15684-1-christian.storm@siemens.com>", "list_archive_url": null, "date": "2017-09-12T11:49:10", "name": "Fix (one more) usage of TMPDIR", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "ea128f1ca130c17539a2babaf2b5ad874c77022a", "submitter": { "id": 72180, "url": "http://patchwork.ozlabs.org/api/people/72180/?format=api", "name": "Storm, Christian", "email": "christian.storm@siemens.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/swupdate/patch/20170912114910.15684-1-christian.storm@siemens.com/mbox/", "series": [ { "id": 2679, "url": "http://patchwork.ozlabs.org/api/series/2679/?format=api", "web_url": "http://patchwork.ozlabs.org/project/swupdate/list/?series=2679", "date": "2017-09-12T11:49:10", "name": "Fix (one more) usage of TMPDIR", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2679/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/812809/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/812809/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<swupdate+bncBDD6BWV65QPBBTMU37GQKGQEIQYQUXY@googlegroups.com>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:4010:c07::239;\n\thelo=mail-lf0-x239.google.com;\n\tenvelope-from=swupdate+bncbdd6bwv65qpbbtmu37gqkgqeiqyquxy@googlegroups.com;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"ld855KMn\"; dkim-atps=neutral" ], "Received": [ "from mail-lf0-x239.google.com (mail-lf0-x239.google.com\n\t[IPv6:2a00:1450:4010:c07::239])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xs36q0yG3z9sRg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 21:51:46 +1000 (AEST)", "by mail-lf0-x239.google.com with SMTP id a18sf338938lfl.0\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 04:51:46 -0700 (PDT)", "by 10.25.221.157 with SMTP id w29ls13773lfi.17.gmail; Tue, 12 Sep\n\t2017 04:51:41 -0700 (PDT)", "from david.siemens.de (david.siemens.de. [192.35.17.14])\n\tby gmr-mx.google.com with ESMTPS id\n\tp70si66029wma.1.2017.09.12.04.51.41 for <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 12 Sep 2017 04:51:41 -0700 (PDT)", "from mail2.siemens.de (mail2.siemens.de [139.25.208.11])\n\tby david.siemens.de (8.15.2/8.15.2) with ESMTPS id v8CBpfWc027867\n\t(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)\n\tfor <swupdate@googlegroups.com>; Tue, 12 Sep 2017 13:51:41 +0200", "from MD1KR9XC.ad001.siemens.net ([139.25.69.251])\n\tby mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v8CBpf3H008826;\n\tTue, 12 Sep 2017 13:51:41 +0200" ], "ARC-Seal": [ "i=2; a=rsa-sha256; t=1505217102; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=iZXeqwSFKHbS4Rnl7RwyTRhFe+7e4eorCivu/1p3pIHkQRMpZ182yrFx9hJxfeYhvw\n\tLLXfDJxsbqLjonizBfJBZiIOWirdHMgg1iQWH/CZat+aE15DpBRRTI9P0VQL3xeGaRl2\n\t47ewQL2acHsqrJ/1VClc9268I835buwz9YfqOA4qor/M6/oPP+OEHkJvJJg6mVgmTtZ+\n\tIx8Y6MCH2AIf9zE2CMNoc5kODxRrUqpChIwkMnf5N9FIc/ntfdaW46K72O2+z/zbOv/x\n\tya+SsQY5WjSbQS8kfrNCB/f9xu6eyJsj3zxP9CTsy85YLrwAnRinWXVHeY1RE2KVQOUU\n\t4OBQ==", "i=1; a=rsa-sha256; t=1505217101; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=AaWjilpIy1O4KKtgJZbjnuMGyzQLyFt4yNhY5odh/Ks/oA0rXU7mmbnW6JY3KX0sy0\n\tfZFB2l9b68VgZH1bjXLS6cr6pcfp3n4nl7UrxsbmCPsP6+1mliaP9OdXlvMpJjfLvBO+\n\t3lIv0deCk9fQF2kFA9nngsXJWHdKJRbOF9t1KE9QkaVt5zdVdlexOVsaVah2pP4dSzVZ\n\tVXe+d1OsQpnnx2CR4s61fuO84jIZZMSddJs9ZE4mHcdjamax5DMNl/H6VGNaUwBTQbF4\n\tGR6SYjw834BPA8/Y6/h2rHMInGlUYIXAju+aBN6ngYujKKjEuIgXdP5WW3a0K72Lko1w\n\tqjNQ==" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:message-id:date:subject:cc:to:from\n\t:arc-authentication-results:arc-message-signature:mime-version\n\t:sender:dkim-signature:arc-authentication-results;\n\tbh=WLC07Ea+qFlIbDQ4SD/Bk5dZrHNviyVUxU9EZZW+MnQ=;\n\tb=yR0yQloOUDMGdY9p+1YoB+5e8PMCwjloDDZTQSUm9kaZQq7D/j49G4vwbCdyUlFnmn\n\thoyMlbfCKer8WvDSywPmjFBHSDXOTQl8iYU08FpFTkKhKpzhK8Zj1hhmCRDoPQcLE3u0\n\t3wopcJZAYhKbOuEwOlM6SEQI/U4CG/AWiGVxza2oGGfitbMuy9r08AhDUvyqAujZTCEU\n\truWTu2pjko2segUsRjugJcx/1FGtT7cXPWK1z2IkAu6X6sspg6BoZYvwth6oBNZ7Dezx\n\tz9SSDCuvPMTeSvPCRHsn0IptbEWfL3l3hTZFsh/6BHrJBUj35W755K56D1m26k982aMK\n\tbzVw==", "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=message-id:date:subject:cc:to:from:arc-authentication-results;\n\tbh=yevNZ+ExB6xn/TNSSoRXN+dz2y4NJxeWh/gwHVSpfhs=;\n\tb=Ua/XvJuCLNeoKmqRKTXScWzFz/n3VWFPPV/d766NgnFIn4lvYZ/A2wSaiSHERIpCGq\n\tjBNrit17XDNTJU+/kqxplUQJBVxB2LZ0+C9PCkloldWl6WoDtwLWMIensQne3NShnnDd\n\tmM1IpbFRFw/SQMIurSXAQH+CTYKsLJ9vZVD0aVeCXUoWkn01CPc/BBddQfYeIvVOYZO4\n\tL3UYpEYz/ftn9mjInaVTaR8Gzb3INqxFrK4/ygT+Ho0jUXEgTtbxVxDfTdSBMnKPGKnh\n\tTKI330BBd8d83V721lbICyxwoVfUrxD/ANC6vEegaei3P2RrWWi+a8cZo+uk+fYXwIJe\n\tNVew==" ], "ARC-Authentication-Results": [ "i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 192.35.17.14 is neither permitted nor denied\n\tby best guess record for domain of\n\tchristian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com", "i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 192.35.17.14 is neither permitted nor denied\n\tby best guess record for domain of\n\tchristian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:from:to:cc:subject:date:message-id\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=WLC07Ea+qFlIbDQ4SD/Bk5dZrHNviyVUxU9EZZW+MnQ=;\n\tb=ld855KMnuT7X04s9JWgQPlyHCxNOPru6LPmXFgeKgNtXOMjtXNZxWjQy3Gm8+9r0er\n\tAIxLKQ2gtS3DaA4xRsaOt8heQdpCI65LBd7OVs2dyQ3gNqxm+iq9O+vI+2BkW9zN9ZxQ\n\tRYSO3xWS6+XBqzg0WOnUxu8LRxbqbiiRPI0Pvhc8gteBcj0qWHKepPBb/oP4EbhVEn/D\n\tqAisBQiMTOjO25YUO9mXscrWTr+p0VCBloLRrlGNV2lk6U2ATYxxGfMmEPOPhirNTiLe\n\tG0cNm/qkF+MRbkoP7yB/t/u28ayF6urdqxRz+reN4Zs0VqvpMQRz6vb9qszxYqzNq3EE\n\tTHAw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:from:to:cc:subject:date\n\t:message-id:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:x-spam-checked-in-group:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=WLC07Ea+qFlIbDQ4SD/Bk5dZrHNviyVUxU9EZZW+MnQ=;\n\tb=EfDSqrUUciyib6rghXCN+UtMIFD4fmRQrrPLyFvPTRFQediu7ecTwCxxaq40v1RpH7\n\ttl5ltaMUsYrh+MeLhmfomwjk43ihziG1tx3ErXdGdY7UcYa1CPF64uViW/X1mJhPzie3\n\t3aWG62ADdRhyetmNWsYN7WFpl3Tv1jVIe3+AsQFUK5Ydd3oB41H+afdq7h4i+gVkx0a+\n\tD7Cd/zW1phm/GPRZmnd2NQtAUsEbnv66pDSHL5xP5vQO6KX2Pw1MFFyrRQ4k88WLDBeL\n\tSF8CTfNRzWVws5yrKS1OqZQMlKeVtzVA9YC7vxI8TPI2z1nbKyOG8gl9YbVziuX5eiku\n\tCm8A==", "Sender": "swupdate@googlegroups.com", "X-Gm-Message-State": "AHPjjUixczYOHHA2erlG/CYB+iCO7MuafcLK0JaApI7Fc64uLZm3EZEW\n\teQwi/NGuhL6g4Q==", "X-Google-Smtp-Source": "AOwi7QAn/cY/qumgEn/PNF/tJzF4JLxUgExsnRo4Fa4/OWbK/pUfr02qv2zi0Mjl3KL457g9aXHZvQ==", "X-Received": [ "by 10.25.84.148 with SMTP id b20mr21566lfl.12.1505217102302;\n\tTue, 12 Sep 2017 04:51:42 -0700 (PDT)", "by 10.46.21.77 with SMTP id 13mr1203872ljv.25.1505217101667;\n\tTue, 12 Sep 2017 04:51:41 -0700 (PDT)" ], "MIME-Version": "1.0", "X-BeenThere": "swupdate@googlegroups.com", "Received-SPF": "neutral (google.com: 192.35.17.14 is neither permitted nor\n\tdenied by best guess record for domain of\n\tchristian.storm@siemens.com) client-ip=192.35.17.14; ", "From": "Christian Storm <christian.storm@siemens.com>", "To": "swupdate@googlegroups.com", "Cc": "Christian Storm <christian.storm@siemens.com>", "Subject": "[swupdate] [PATCH] Fix (one more) usage of TMPDIR", "Date": "Tue, 12 Sep 2017 13:49:10 +0200", "Message-Id": "<20170912114910.15684-1-christian.storm@siemens.com>", "X-Mailer": "git-send-email 2.14.1", "X-Original-Sender": "christian.storm@siemens.com", "X-Original-Authentication-Results": "gmr-mx.google.com; spf=neutral\n\t(google.com: 192.35.17.14 is neither permitted nor denied by best\n\tguess\n\trecord for domain of christian.storm@siemens.com)\n\tsmtp.mailfrom=christian.storm@siemens.com", "Content-Type": "text/plain; charset=\"UTF-8\"", "Precedence": "list", "Mailing-list": "list swupdate@googlegroups.com;\n\tcontact swupdate+owners@googlegroups.com", "List-ID": "<swupdate.googlegroups.com>", "X-Spam-Checked-In-Group": "swupdate@googlegroups.com", "X-Google-Group-Id": "605343134186", "List-Post": "<https://groups.google.com/group/swupdate/post>,\n\t<mailto:swupdate@googlegroups.com>", "List-Help": "<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>", "List-Archive": "<https://groups.google.com/group/swupdate", "List-Subscribe": "<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>", "List-Unsubscribe": "<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>" }, "content": "Fix one more spot that uses the TMPDIR variable.\n\nSigned-off-by: Christian Storm <christian.storm@siemens.com>\n---\n handlers/flash_hamming1_handler.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/handlers/flash_hamming1_handler.c b/handlers/flash_hamming1_handler.c\nindex 44141fd..8b54d3a 100644\n--- a/handlers/flash_hamming1_handler.c\n+++ b/handlers/flash_hamming1_handler.c\n@@ -294,6 +294,7 @@ static int install_flash_hamming_image(struct img_type *img,\n \tchar filename[64];\n \tint mtdnum;\n \tint n;\n+\tconst char* TMPDIR = get_tmpdir();\n \n \tn = snprintf(filename, sizeof(filename), \"%s%s\", TMPDIR, img->fname);\n \tif (n < 0 || n >= sizeof(filename)) {\n", "prefixes": [] }