Inucune@lemmy.worldto
Programming@programming.dev•What's the weirdest bug in a program you found in a project you didn't write?

11 months
Load 2TB of data into ram during startup. Prompt user credentials to continue. Whoops, we need to do cryptography on those credentials… Free the heap. Invalid creds force exits. Valid creds goes gray until those 2TB are loaded back into memory… From storage halfway across the country over the 3mbps link, the best available in BFE.

Loads the entire db table into memory. The login step is configurable but the app loads the table before checking for it. Site is in BFE and other sites need access to the database so it is in corp.