Snap! Websites Journal

As I was working on the antihammering plugin for Snap!, I wanted to use the count() feature to quickly know how many hits there are for a given amount of time.

Only as I did that, I noticed that the count() was blocked at 100. The problem was that the predicate used at the lower layer in libQtCassandra would actually set the count maximum to 100 by default.

I think that since the count function only counts the columns of interest, that it goes really fast no matter what the counter maximum is and whether you have a predicate or not. So I changed the lower layer implementation to force the ...

The csspp compiler was updated after being scanned for potential problems by Coverity.

Coverity found one potential buffer overflow in the lexer. This was certainly not possible to reach because that specific function is private and only used for a very few characters. But it is always worth fixing such bugs.

There are two other small issues: a compiler was created with 'this' as parameter instead of 'true' and a test misused the & operator.

So, as an end user you will probably not see any difference between 1.0.7 and 1.0.8.

Download right here: ...

The Zipios library was scanned using Coverity and we found a couple of variable members that were not initialized. Version 2.1.1 fixes these problems.

There were a few other fixes along the road that were really not major but are included in this version of the library. There is the changelog information:

  • Fixed a couple of class initializations that were missing.
  • Fixed a few system() call of which return values were not checked.
  • Added a BUILD_ZIPIOS_TESTS cmake option flag.
  • Fixed reference to README as as it is called now.
  • Allow for ZIPIOS_WINDOWS to ...
Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly