Actions
Bug #3003
closedlib/libkvm/kvm.c:138: suspicious comparison ?
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/31/2017
Due date:
% Done:
0%
Estimated time:
Description
lib/libkvm/kvm.c:138]: (warning) Char literal compared with pointer 'p'. Did you intend to dereference it?
Source code is
for (; p != '\0'; ++p)
Maybe better code
for (; *p != '\0'; ++p)
Updated by swildner over 7 years ago
- Status changed from New to Closed
This is a real issue. Pushed to master and MFC'd to 4.8
Actions