diff options
author | yar <yar@FreeBSD.org> | 2006-06-30 18:25:07 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-06-30 18:25:07 +0000 |
commit | 563866983d1f41a9d740ebee2c0efdde2f15f9f8 (patch) | |
tree | 40b40d1a94d3450b7c6dac0bdf7baeab656bb22a /lib/libc/stdlib/strfmon.c | |
parent | 671ef276e8935d4b41b4d63c05eebf709897f01e (diff) | |
download | FreeBSD-src-563866983d1f41a9d740ebee2c0efdde2f15f9f8.zip FreeBSD-src-563866983d1f41a9d740ebee2c0efdde2f15f9f8.tar.gz |
We needn't check "m" for NULL here because "off" should be within
the mbuf chain. If we ever get a buggy caller, a bogus "off" should
be caught by the sanity check at the function entry. Null "m" here
means a very unusual condition of a totally broken mbuf chain (wrong
m_pkthdr.len or whatever), so we can just page fault later.
Found by: Coverity Prevent(tm)
CID: 825
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions