diff options
author | lulf <lulf@FreeBSD.org> | 2009-02-02 19:22:53 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-02-02 19:22:53 +0000 |
commit | 2660392853b1e799fc0aedf0753fdb1180f79b8b (patch) | |
tree | 58c4e753d0740b29bf4fd5b1088d9fb7bf9107ac /usr.sbin/ofwdump | |
parent | eec42a8d3c4be0cbd13b8a3a4284ae818f25f8ad (diff) | |
download | FreeBSD-src-2660392853b1e799fc0aedf0753fdb1180f79b8b.zip FreeBSD-src-2660392853b1e799fc0aedf0753fdb1180f79b8b.tar.gz |
- Use a separate pointer to the allocated memory for freeing, as strsep may
modify the pointer argument passed to it. This triggered an assert in malloc
when a geom command being run under the livefs environment.
PR: bin/130632
Submitted by: Dimitry Andric <dimitry -at- andric.com>
Pointy hat to: me
MFC after: 2 days
Diffstat (limited to 'usr.sbin/ofwdump')
0 files changed, 0 insertions, 0 deletions