Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #555 from gpakosz/valgrind
Browse files Browse the repository at this point in the history
Fixed uninitialized values reported by Valgrind
  • Loading branch information
Minoru committed May 27, 2017
2 parents a3a7ba9 + 0ef4b1b commit dac5e37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions filter/Scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Buffer::Buffer(const unsigned char* buf, int len) {
fileLen = len;
bufPos = 0;
stream = NULL;
isUserStream = false;
}

Buffer::~Buffer() {
Expand Down
1 change: 1 addition & 0 deletions rss/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ feed parser::parse_file(const std::string& filename) {

feed parser::parse_xmlnode(xmlNode* node) {
feed f;
f.rss_version = UNKNOWN;

if (node) {
if (node->name && node->type == XML_ELEMENT_NODE) {
Expand Down

0 comments on commit dac5e37

Please sign in to comment.