• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

n1tehawk / luaunit
100%
nitehawk: 100%

Build:
Build:
LAST BUILD BRANCH: issue48
DEFAULT BRANCH: nitehawk
Repo Added 06 Jan 2016 01:04PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH issue48
branch: issue48
CHANGE BRANCH
x
Reset
  • issue48
  • 20160728_next
  • 20160728_teaci
  • 20160729_macosx
  • 20160801_numerrors
  • 20160805_osx-single-build
  • 20160806_osx-full
  • 20160807_skip
  • 20160812_refactor-pull-request-57
  • 20161009_nan-and-inf
  • 20161105_pull68
  • 20161118_ansicolors
  • 20170124_assertContains
  • 20170214_fixes
  • 20170214_luacheck
  • contrib
  • experimental
  • master
  • nitehawk

pending completion
220

push

travis-ci

n1tehawk
Avoid potential infinite loop in _is_table_equals()

If two tables each contain a self-referencing field with the same
name, the recursive logic in _is_table_equals() might cause an
infinite loop, which will usually end with a stack overflow.

Passing an optional `parent` field with the containing table
enables us to detect this condition (actual == parent), and avoid
the recursion. Table fields that contain self-references will now
simply be compared "by value" instead of evaluating them.

Fixes #48.

40 of 40 relevant lines covered (100.0%)

1.75 hits per line

Relevant lines Covered
Build:
Build:
40 RELEVANT LINES 40 COVERED LINES
1.75 HITS PER LINE
Source Files on issue48
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
220 issue48 Avoid potential infinite loop in _is_table_equals() If two tables each contain a self-referencing field with the same name, the recursive logic in _is_table_equals() might cause an infinite loop, which will usually end with a stack overflow. Pas... push 17 May 2018 10:35PM UTC n1tehawk travis-ci pending completion  
See All Builds (158)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc