projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] busybox: fix hexdump segmentation fault with an empty leading format unit
[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.054826 seconds
and
5
git commands to generate.