Archive for September, 2009

SVN users, secure your web site!

Tuesday, September 29th, 2009

After reading this article I found I host one of the site affected by this security issue.

I.e. if your website has “.svn” folders (because you’ve forgot to exclude them from the zip or whatever) than your source code may be exposed to the anonymous users.

Two possible (and simple) solutions:

  1. Exclude “.svn” folders when publishing/deploying
  2. Add this to your Apache2 website configuration
    <Directory ~ ".*\.svn">
      Order allow,deny
      Deny from all
      Satisfy All
    </Directory>

glib-2.20.5 b0rks if compiled with plain -O3

Thursday, September 3rd, 2009

Just one more post for the category Improving Free Software: I’ve run into troubles on my laptop when yesterday I upgraded glib, which caused an infinite loop on a dependent software.

Thanks to a suggestion from Gilles Dartiguelongue, I found that the latest glib fails if compiled with a plain -O3 optimization: the problem was solved by disabling the “ipa-cp-clone” optimization (-fno-ipa-cp-clone).

All the details can be found here.