Feeds

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

Some sort of record? Let us know

Build a business case: developing custom apps

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

Gartner critical capabilities for enterprise endpoint backup

More from The Register

next story
'Stop dissing Google or quit': OK, I quit, says Code Club co-founder
And now a message from our sponsors: 'STFU or else'
Why has the web gone to hell? Market chaos and HUMAN NATURE
Tim Berners-Lee isn't happy, but we should be
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Uber, Lyft and cutting corners: The true face of the Sharing Economy
Casual labour and tired ideas = not really web-tastic
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
prev story

Whitepapers

Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
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 distributed data
Eliminating the redundant use of bandwidth and storage capacity and application consolidation in the modern data center.
The essential guide to IT transformation
ServiceNow discusses three IT transformations that can help CIOs automate IT services to transform IT and the enterprise
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.