Fix for an integer overflow bug that could cause a segfault on certain pathological archives.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -413,7 +413,7 @@ got_huff_bits: | |
| context). Thus space is saved. */ | |
| t += (runPos << nextSym); /* +runPos if RUNA; +2*runPos if RUNB */ | |
| - | runPos <<= 1; |
| + | if(runPos < dbufSize) runPos <<= 1; |
| goto end_of_huffman_loop; | |
| } | |