artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3123b71
)
When converting the TAL parser to use load_file and pass the file via
author
claudio
<claudio@openbsd.org>
Sun, 31 Oct 2021 15:58:13 +0000
(15:58 +0000)
committer
claudio
<claudio@openbsd.org>
Sun, 31 Oct 2021 15:58:13 +0000
(15:58 +0000)
data/datasz element to the parser process I forgot to remove the old
buf argument that abused descr for that. Because of this rpki-client
can crash.
Found by benno@, OK benno@ beck@
usr.sbin/rpki-client/main.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/main.c
b/usr.sbin/rpki-client/main.c
index
5241a10
..
a56aa65
100644
(file)
--- a/
usr.sbin/rpki-client/main.c
+++ b/
usr.sbin/rpki-client/main.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: main.c,v 1.15
7 2021/10/28 19:02:36
claudio Exp $ */
+/* $OpenBSD: main.c,v 1.15
8 2021/10/31 15:58:13
claudio Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@
-408,7
+408,7
@@
queue_add_tal(const char *file)
}
/* Not in a repository, so directly add to queue. */
- entityq_add(nfile, RTYPE_TAL, NULL, buf, len,
buf
);
+ entityq_add(nfile, RTYPE_TAL, NULL, buf, len,
NULL
);
}
/*