I found and fixed bugs in two free-software projects recently: zsh and elfutils. Nothing particularly interesting, but I thought I'd make a note here.


Report, patch: http://www.zsh.org/mla/workers/2017/msg01704.html. This one is interesting for two reasons:

  1. The broken-ness is in a very non-obscure place: qualifying a particular type of glob doesn't work. For instance dir*/file(Om) would not actually do the sorting, as requested by the (Om).
  2. This bug was there at least since 2001! This is my record, I think


Report, patch: https://sourceware.org/bugzilla/show_bug.cgi?id=22546. This one is also very non-obscure: libdw lies about the size of a variable if the variable is a multi-dimensional array.

It is interesting how breakage is everywhere (look: two bugs in common usage in common tools) and nowhere (tons of people uses both of these tools everyday without hitting these) at the same time.