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

universal-ctags / ctags / 4462 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2018 03:05PM UTC
Files 163
Run time 8s
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

14 Oct 2018 03:01PM UTC coverage: 84.888%. Remained the same
TARGET=Unix

push

travis-ci

masatake
<a href="https://github.com/universal-ctags/ctags/commit/<a class=hub.com/universal-ctags/ctags/commit/b2e27320f4f9e19e9ba410b2d7b75042f751aac1">b2e27320f<a href="https://github.com/universal-ctags/ctags/commit/b2e27320f4f9e19e9ba410b2d7b75042f751aac1">&quot;&gt;tex: Fix infinite loop parsing an identifier at EOF

This was introduced in </a><a class="double-link" href="https://github.com/universal-ctags/ctags/commit/<a class="double-link" href="https://github.com/universal-ctags/ctags/commit/5d5afe64ca5517c50897164f72db174428961e9f">5d5afe64c</a>">5d5afe64c</a><a href="https://github.com/universal-ctags/ctags/commit/b2e27320f4f9e19e9ba410b2d7b75042f751aac1"> which
started accepting as an identifier character any byte with a value that
cast as `unsigned char` is greater than or equal to 0x80.  The common
value for the `EOF` constant being -1, which cast to `unsigned char`
gives a value of 0xff, hence leading to accepting `EOF` as an
identifier character and then an infinite loop.

Fix it on both sides:

* Don&#39;t perform the cast, as it&#39;s unneeded in this case: `c` is an
  `int` holding the value of an `unsigned char` or `EOF` already, so
  anything equal to or above 0 is a legitimate input character.
* Guard against `EOF` explicitly in the loop.

Fixes #1896.

28440 of 33503 relevant lines covered (84.89%)

17559.9 hits per line

Source Files on job 4462.1 (TARGET=Unix)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4253
  • Travis Job 4462.1
  • b2e27320 on github
  • Prev Job for TARGET=Unix on master (#4461.1)
  • Next Job for TARGET=Unix on master (#4463.1)
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