projects
/
openwrt
/
staging
/
lynxis.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ab09fb3e42c7b26826a2298c47a8888dca548296
[openwrt/staging/lynxis.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;