artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5dfd5
)
fix use after free in debug path
author
jsg
<jsg@openbsd.org>
Fri, 22 Jul 2022 09:04:44 +0000
(09:04 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 22 Jul 2022 09:04:44 +0000
(09:04 +0000)
ok jan@ miod@
sbin/fsdb/fsdb.c
patch
|
blob
|
history
diff --git
a/sbin/fsdb/fsdb.c
b/sbin/fsdb/fsdb.c
index
1719209
..
2699dd9
100644
(file)
--- a/
sbin/fsdb/fsdb.c
+++ b/
sbin/fsdb/fsdb.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: fsdb.c,v 1.3
4 2021/01/27 05:03:25 deraadt Exp $
*/
+/* $OpenBSD: fsdb.c,v 1.3
5 2022/07/22 09:04:44 jsg Exp $
*/
/* $NetBSD: fsdb.c,v 1.7 1997/01/11 06:50:53 lukem Exp $ */
/*-
@@
-281,7
+281,7
@@
cmdloop(void)
while ((elline = el_gets(elptr, &scratch)) != NULL && scratch != 0) {
if (debug)
- printf("command `%s'\n", line);
+ printf("command `%s'\n",
el
line);
history(hist, &hev, H_ENTER, elline);