Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
htdig
htstats-3.2-zerowordssegfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File htstats-3.2-zerowordssegfault.patch of Package htdig
--- httools/htstat.cc +++ httools/htstat.cc @@ -158,7 +158,8 @@ if(words.Open(config->Find("word_db"), O_RDONLY) == OK) { cout << "htstat: Total words: " << words.WordRefs()->Count() << endl; - cout << "htstat: Total unique words: " << words.Words()->Count() << endl; + if (words.WordRefs()->Count() != 0) + cout << "htstat: Total unique words: " << words.Words()->Count() << endl; words.Close(); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor