Title: DeviceScript wrongly considers a loop as an infinite one. · Issue #697 · microsoft/devicescript · GitHub
Open Graph Title: DeviceScript wrongly considers a loop as an infinite one. · Issue #697 · microsoft/devicescript
X Title: DeviceScript wrongly considers a loop as an infinite one. · Issue #697 · microsoft/devicescript
Description: Describe the bug DeviceScript panics, saying Exception: InfiniteLoop wrongly To Reproduce create two random buffers, one of the size of 4500-5000 and the other with the size of 4 loop over the big buffer, running bigBuffer[i] ^= smallBuf...
Open Graph Description: Describe the bug DeviceScript panics, saying Exception: InfiniteLoop wrongly To Reproduce create two random buffers, one of the size of 4500-5000 and the other with the size of 4 loop over the big ...
X Description: Describe the bug DeviceScript panics, saying Exception: InfiniteLoop wrongly To Reproduce create two random buffers, one of the size of 4500-5000 and the other with the size of 4 loop over the big ...
Opengraph URL: https://github.com/microsoft/devicescript/issues/697
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DeviceScript wrongly considers a loop as an infinite one.","articleBody":"**Describe the bug**\r\nDeviceScript panics, saying `Exception: InfiniteLoop` wrongly\r\n\r\n**To Reproduce**\r\n1. create two random buffers, one of the size of 4500-5000 and the other with the size of 4\r\n2. loop over the big buffer, running `bigBuffer[i] ^= smallBuffer[i % 4]` in it\r\n3. see error \r\n\r\n**Expected behavior**\r\nThe loop runs and finishes successfully.\r\n\r\n**Screenshots**\r\n\r\n\r\n**Additional context**\r\nI'm running through the devicescript simulator, experienced while creating a websocket library for devicescript. The loop is needed for masking the message.\r\n","author":{"url":"https://github.com/hkubus","@type":"Person","name":"hkubus"},"datePublished":"2024-07-01T14:06:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/697/devicescript/issues/697"}
| 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:08984a4e-dc00-f2df-2fbb-947260f2ffa4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E35C:1C43B1:45760F:5B869D:698E53E8 |
| html-safe-nonce | 1cb04468ae72437bab99ae7b57e46fdca0d2cf08a7e41b2a9d0d6e53d16d6c9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzVDOjFDNDNCMTo0NTc2MEY6NUI4NjlEOjY5OEU1M0U4IiwidmlzaXRvcl9pZCI6Ijk4MzU4MTY0ODk1NTAwMzg4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da9c0deacdb74d103cc5919b43f5a0dd6e60ab56ccbdafb9f8da3801d14c6771 |
| hovercard-subject-tag | issue:2383955532 |
| 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/microsoft/devicescript/697/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa034ebdf339bb206c5dd682cce3a66419409d44c545e8c28eb064b33c2253fa/microsoft/devicescript/issues/697 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa034ebdf339bb206c5dd682cce3a66419409d44c545e8c28eb064b33c2253fa/microsoft/devicescript/issues/697 |
| og:image:alt | Describe the bug DeviceScript panics, saying Exception: InfiniteLoop wrongly To Reproduce create two random buffers, one of the size of 4500-5000 and the other with the size of 4 loop over the big ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hkubus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e08b85f0035d49bc4c22868f70a4d30fb8c2a777936895c37e78df095242ddc |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/devicescript git https://github.com/microsoft/devicescript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 469857534 |
| octolytics-dimension-repository_nwo | microsoft/devicescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 469857534 |
| octolytics-dimension-repository_network_root_nwo | microsoft/devicescript |
| 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 | 9416d07f3607b074b276ccc81546278f89608a08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width