Title: putenv() accepts names containing '=', return value of unsetenv() not checked · Issue #49176 · python/cpython · GitHub
Open Graph Title: putenv() accepts names containing '=', return value of unsetenv() not checked · Issue #49176 · python/cpython
X Title: putenv() accepts names containing '=', return value of unsetenv() not checked · Issue #49176 · python/cpython
Description: BPO 4926 Nosy @loewis, @pefu, @amauryfa, @serhiy-storchaka, @eryksun PRs #2382 Files visibility.diff: Make bugs visible for testing2.x.diff: Fix for Python 2.x3.x.diff: Fix for Python 3.xputenv-equals-2.x.diff: Make posix.putenv() raise ...
Open Graph Description: BPO 4926 Nosy @loewis, @pefu, @amauryfa, @serhiy-storchaka, @eryksun PRs #2382 Files visibility.diff: Make bugs visible for testing2.x.diff: Fix for Python 2.x3.x.diff: Fix for Python 3.xputenv-equ...
X Description: BPO 4926 Nosy @loewis, @pefu, @amauryfa, @serhiy-storchaka, @eryksun PRs #2382 Files visibility.diff: Make bugs visible for testing2.x.diff: Fix for Python 2.x3.x.diff: Fix for Python 3.xputenv-equ...
Opengraph URL: https://github.com/python/cpython/issues/49176
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"putenv() accepts names containing '=', return value of unsetenv() not checked","articleBody":"BPO | [4926](https://bugs.python.org/issue4926)\n--- | :---\nNosy | @loewis, @pefu, @amauryfa, @serhiy-storchaka, @eryksun\nPRs | \u003cli\u003epython/cpython#2382\u003c/li\u003e\nFiles | \u003cli\u003e[visibility.diff](https://bugs.python.org/file12708/visibility.diff \"Uploaded as text/plain at 2009-01-12.23:30:18 by baikie\"): Make bugs visible for testing\u003c/li\u003e\u003cli\u003e[2.x.diff](https://bugs.python.org/file12709/2.x.diff \"Uploaded as text/plain at 2009-01-12.23:31:26 by baikie\"): Fix for Python 2.x\u003c/li\u003e\u003cli\u003e[3.x.diff](https://bugs.python.org/file12710/3.x.diff \"Uploaded as text/plain at 2009-01-12.23:31:49 by baikie\"): Fix for Python 3.x\u003c/li\u003e\u003cli\u003e[putenv-equals-2.x.diff](https://bugs.python.org/file18185/putenv-equals-2.x.diff \"Uploaded as text/plain at 2010-07-24.19:20:30 by baikie\"): Make posix.putenv() raise ValueError if name contains an '=' character\u003c/li\u003e\u003cli\u003e[putenv-empty-2.x.diff](https://bugs.python.org/file18186/putenv-empty-2.x.diff \"Uploaded as text/plain at 2010-07-24.19:21:10 by baikie\"): Make posix.putenv() raise ValueError if name is empty\u003c/li\u003e\u003cli\u003e[putenv-equals-3.x.diff](https://bugs.python.org/file18187/putenv-equals-3.x.diff \"Uploaded as text/plain at 2010-07-24.19:21:45 by baikie\"): Make posix.putenv() raise ValueError if name contains an '=' character\u003c/li\u003e\u003cli\u003e[putenv-empty-3.x.diff](https://bugs.python.org/file18188/putenv-empty-3.x.diff \"Uploaded as text/plain at 2010-07-24.19:22:21 by baikie\"): Make posix.putenv() raise ValueError if name is empty\u003c/li\u003e\u003cli\u003e[visibility-2.x.diff](https://bugs.python.org/file18189/visibility-2.x.diff \"Uploaded as text/plain at 2010-07-24.19:24:11 by baikie\"): Make posix_putenv_garbage visible, print unsetenv() return value\u003c/li\u003e\u003cli\u003e[visibility-3.x.diff](https://bugs.python.org/file18190/visibility-3.x.diff \"Uploaded as text/plain at 2010-07-24.19:24:30 by baikie\"): Make posix_putenv_garbage visible, print unsetenv() return value\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2020-03-22.09:27:46.810\u003e\ncreated_at = \u003cDate 2009-01-12.23:30:21.260\u003e\nlabels = ['extension-modules', 'type-bug']\ntitle = \"putenv() accepts names containing '=', return value of unsetenv() not checked\"\nupdated_at = \u003cDate 2020-03-22.09:27:46.810\u003e\nuser = 'https://bugs.python.org/baikie'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-03-22.09:27:46.810\u003e\nactor = 'serhiy.storchaka'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2020-03-22.09:27:46.810\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Extension Modules']\ncreation = \u003cDate 2009-01-12.23:30:21.260\u003e\ncreator = 'baikie'\ndependencies = []\nfiles = ['12708', '12709', '12710', '18185', '18186', '18187', '18188', '18189', '18190']\nhgrepos = []\nissue_num = 4926\nkeywords = ['patch']\nmessage_count = 10.0\nmessages = ['79708', '109614', '111036', '111503', '111535', '111549', '252363', '296815', '333144', '364791']\nnosy_count = 7.0\nnosy_names = ['loewis', 'pefu', 'amaury.forgeotdarc', 'ggenellina', 'baikie', 'serhiy.storchaka', 'eryksun']\npr_nums = ['2382']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue4926'\nversions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/baikie","@type":"Person","name":"baikie"},"datePublished":"2009-01-12T23:30:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/49176/cpython/issues/49176"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:46ec35fd-cde2-4f0a-6cf5-465d9b00cbb2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0F6:2E80A1:D6A755:1372960:6A560091 |
| html-safe-nonce | 06ef9333d01f7c86633c09878e9fb50c01ab3f53395ea3ad2c3846ee4e2dd264 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEY2OjJFODBBMTpENkE3NTU6MTM3Mjk2MDo2QTU2MDA5MSIsInZpc2l0b3JfaWQiOiI3MTgwMzQ5OTg4MjExNjU0ODAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cbd26ef02cc26b045cad5628a3777f75f5757b8e873a065f5fa26d3743524b5f |
| hovercard-subject-tag | issue:1198840035 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/49176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ab731b6d41cc4eeee28a63d780ed608312846faa022619854cbf6037dd7c17d/python/cpython/issues/49176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ab731b6d41cc4eeee28a63d780ed608312846faa022619854cbf6037dd7c17d/python/cpython/issues/49176 |
| og:image:alt | BPO 4926 Nosy @loewis, @pefu, @amauryfa, @serhiy-storchaka, @eryksun PRs #2382 Files visibility.diff: Make bugs visible for testing2.x.diff: Fix for Python 2.x3.x.diff: Fix for Python 3.xputenv-equ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | baikie |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed27e29ef37c0e8f612ea3fed8118b955b8314e2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width