Feeds

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

Some sort of record? Let us know

Maximizing your infrastructure through virtualization

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. ®

Reducing security risks from open source software

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.