Processed: Re: Bug#752872: libapr1: file locking is broken, leading to file corruption in e.g. libapache2-mod-auth-cas session files

2014-08-16 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: severity 752872 important Bug #752872 [libapr1] libapr1: file locking is broken, leading to file corruption in e.g. libapache2-mod-auth-cas session files Severity set to 'important' from 'grave' found 752872 1.4.6-3 Bug #752872 [libapr1]

Bug#752872: libapr1: file locking is broken, leading to file corruption in e.g. libapache2-mod-auth-cas session files

2014-08-16 Thread Stefan Fritsch
severity 752872 important found 752872 1.4.6-3 thanks On Friday 27 June 2014 11:37:18, Joost van Baal-Ilić wrote: While libapr1 defaults to fcntl() locking it also supports flock(), which does not have the problems outlined above. A patch is attached which makes libapr1 use flock() even if

Bug#752872: libapr1: file locking is broken, leading to file corruption in e.g. libapache2-mod-auth-cas session files

2014-06-27 Thread Joost van Baal-Ilić
Package: libapr1 Version: 1.4.6-3+deb7u1 Severity: grave Tags: patch, upstream Hi, libapr1 uses fcntl(F_SETLKW) for locking files, but this is not compatible with multithreaded programs. fcntl(F_SETLKW) has the strange quirk that if an open and locked file is opened and then closed a second time