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

libevent / libevent / 542
81%

Build:
DEFAULT BRANCH: master
Ran 17 Aug 2018 01:35AM UTC
Jobs 1
Files 99
Run time 35s
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

pending completion
542

push

travis-ci

azat
dns-example: free result in getaddrinfo callback

According to evdns.c, the result not freed by libevent after
the callback runs:

evdns_getaddrinfo_gotresolve()
{
    ...
    data->user_cb(0, data->pending_result, data->user_data);
    data->pending_result = NULL;
    ...
}

To reproduce, build with -fsanitize=address, add -g to the getopt
list in dns-example.c like in the current commit and run

  dns-example -g google.com

Closes: #681 # cherry-picked

10966 of 13576 relevant lines covered (80.77%)

41379207.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 542.1 (EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes) 17 Aug 2018 01:35AM UTC 0
80.77
Travis Job 542.1
Source Files on build 542
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #542
  • 855f0804 on github
  • Prev Build on master (#531)
  • Next Build on master (#543)
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