Feeds

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

Some sort of record? Let us know

Secure remote control for conventional and virtual desktops

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

The essential guide to IT transformation

More from The Register

next story
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
'Stop dissing Google or quit': OK, I quit, says Code Club co-founder
And now a message from our sponsors: 'STFU or else'
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Uber, Lyft and cutting corners: The true face of the Sharing Economy
Casual labour and tired ideas = not really web-tastic
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
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.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
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.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?