ath9k: fix a crash in led init
[openwrt.git] / package / busybox / patches / 700-hexdump_segfault_fix.patch
1 --- a/libbb/dump.c
2 +++ b/libbb/dump.c
3 @@ -301,7 +301,7 @@ static NOINLINE void rewrite(priv_dumper
4 ) {
5 fu->reps += (dumper->blocksize - fs->bcnt) / fu->bcnt;
6 }
7 - if (fu->reps > 1) {
8 + if (fu->reps > 1 && fu->nextpr) {
9 for (pr = fu->nextpr;; pr = pr->nextpr)
10 if (!pr->nextpr)
11 break;
This page took 0.056019 seconds and 5 git commands to generate.