GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Using complex arrays as map keys may hang the process · Issue #475 · nodeca/js-yaml Closed Labels DescriptionArrays can be yaml keys. Arrays can be arbitrarily nested data structures that can reference each other. Yaml keys are serialized into strings. As a result, we have a possibility of user creating yaml that will cause map key to grow exponentially from linearly growing input. ? - &c - &a 1 - &b 2 - &d - *a - *b : key expands into ? - &e - &c - &a 1 - &b 2 - &d - *a - *b - &f - *c - *d : key expands into ? - &g - &e - &c - &a 1 - &b 2 - &d - *a - *b - &f - *c - *d - &h - *e - *f : key expands into Which is doubling the output, with only linearly growing input... and so on. Give it 30 levels of nesting, you'll get 1GB worth of data out of 10kB input file. relevant issue here: #169 Reacted by karaeren Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |