Feeds

Good news, everyone! KDE cookie-scoffing bug smashed after 10 YEARS

Some sort of record? Let us know

Boost IT visibility and business value

A bug in the KDE Linux desktop that made penguin-powered computers spill their cookie jars has been resolved after more than a decade.

The flaw in the free-software environment is best described as a glitch or irritant rather than anything serious, but it did cause some systems to forget their web cookies after a reboot or shutdown - throwing users out of websites and forcing them to log in again.

At first, it was thought the bug was in the "Reject Cross-Domain Cookies" feature of the KDE Libraries, although further probing traced the fault to an uninitialised variable in the platform's cookie jar.

It appears nobody complained about the oversight, so it was only when developer Thiago Macieira came across the error and fixed it in revision 794b14b8 last week that its existence came to light.

"For several months now, all my cookies would be forgotten after a kded restart," Macieira explained. "After debugging the problem, it turns out that mCrossDomain was of value 127, which makes no sense for a boolean."

"This variable has been present since 2002, which means that the 'reject cross domain cookies' feature has been broken for 10 years and 8 months," he added.

Macieira's explanation makes clear that the minor bug was resolved easily and with minimal fuss. Any complex software package harbours all sorts of long-hidden bugs, some of which are probably never identified and fixed. Still, is a decade between the inclusion of a bug and its resolution something of a record? There must surely be big-iron software running for longer with glitches allowed to stand or that remain hidden. Let us know in The Register forums. ®

Build a business case: developing custom apps

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
PEAK LANDFILL: Why tablet gloom is good news for Windows users
Sinofsky's hybrid strategy looks dafter than ever
Fiendishly complex password app extension ships for iOS 8
Just slip it in, won't hurt a bit, 1Password makers urge devs
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.