breton is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
breton @breton
Follow

+fips_isWantedProc(void)
+{
+ int fips_fd;
+ char fips_sys = 0;
...
+ if (1 > read(fips_fd, &fips_sys, 1)) {
+ fatal(...);
+ }
+ close(fips_sys);
+ switch(fips_sys) {
...

`fips_sys` contained '0'. The code closed descriptor 48, killing postgresql connections, HTTP connections and open files in Python. We spent 2 weeks debugging it.

IT is fun indeed.

· Web · 0 · 2