Google broke a conditional statement that verifies passwords on Chrome OS
From the article:> The line should read "if (key_data_.has_value() && !key_data_->label().empty()) {" but instead of "&&"—the C++ version of the "AND" operator—the bad update used a single ampersand, breaking the second half of the conditional statement.Someone correct me if I'm wrong, but this seems like it wouldn't be possible in a language that didn't conflate boolean values with bitvectors.Edit: I was wrong[1].[1] https://news.ycombinator.com/item?id=27923785