Earlier quoted context omitted.
And it's still wrong, since strncpy() doesn't null terminate: it null pads. That means that if the string is longer than the buffer, it will not be correctly terminated.
They do check the string size before using strncpy though, so it should be fine
Douane personal firewall for GNU/Linux
41–46 of 46 posts
Re: Douane personal firewall for GNU/Linux
#42Re: Douane personal firewall for GNU/Linux
#43Re: Douane personal firewall for GNU/Linux
#44I would be careful, a critical buffer overflow vulnerability was just found in the Douane kernel module: https://github.com/Douane/douane-dkms/commit/61023b91fbafab8...
+ // Don't do anything if the process_path length is > PATH_LENGTH
+ if (strlen(process_path) > PATH_LENGTH)
+ return;Re: Douane personal firewall for GNU/Linux
#45Earlier quoted context omitted.
I'm not entirely sure what GTK or GTK point releases have to do with it. Isn't it just a programming framework with a GUI?
It's a very popular one. However, for the last couple of years, minor releases of a supposedly stable branch included backwards-incompatible changes that broke applications and themes. Basically, upgrading from 3.8 to 3.10 resulted in applications looking funny and some of them crashing. Quite a few application and theme developers ended up calling quits -- stopped maintaining their applications, kept on using GTK 2…
No, the releases broke only themes and exactly that was communicated - that the CSS engine was work in progress and that themes were going to be broken.
Those, who didn't want to listen complained afterwards. Color me surprised.
Re: Douane personal firewall for GNU/Linux
#46Earlier quoted context omitted.
It's a very popular one. However, for the last couple of years, minor releases of a supposedly stable branch included backwards-incompatible changes that broke applications and themes. Basically, upgrading from 3.8 to 3.10 resulted in applications looking funny and some of them crashing. Quite a few application and theme developers ended up calling quits -- stopped maintaining their applications, kept on using GTK 2…
> minor releases of a supposedly stable branch included backwards-incompatible changes that broke applications and themes. No, the releases broke only themes and exactly that was communicated - that the CSS engine was work in progress and that themes were going to be broken. Those, who didn't want to listen complained afterwards. Color me surprised.
The decision to include "work in progress" code in stable releases is also a little questionable.