summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2013-05-16 19:19:44 +0000
committermartin <martin@NetBSD.org>2013-05-16 19:19:44 +0000
commitb957cd313fa8cedc4b6a899f500a11c256210216 (patch)
tree32c57d4520d1543597e1e1ccc188525433bc9662 /sys/dev
parente5b64c4934f323cedaab50ddcbfe9b62c21e45a1 (diff)
var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it to "buf" and then check the loop condition by dereferencing it - which does not work well. Change the loop condition to first check for buf == NULL.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions