clang complained that STREQ(group->controllers[i].mountPoint,...) was
a NULL dereference when i==VIR_CGROUP_CONTROLLER_CPUSET, because it
assumes the worst about virCgroupPathOfController. Marking the
argument const doesn't yet have an effect, per this clang bug:
http://llvm.org/bugs/show_bug.cgi
On 02/14/2011 04:37 PM, Eric Blake wrote:
clang complained that STREQ(group->controllers[i].mountPoint,...) was
a NULL dereference when i==VIR_CGROUP_CONTROLLER_CPUSET, because it
assumes the worst about virCgroupPathOfController. Marking the
argument const doesn't yet have an effect, per this
On 02/14/2011 02:57 PM, Laine Stump wrote:
> On 02/14/2011 04:37 PM, Eric Blake wrote:
>> clang complained that STREQ(group->controllers[i].mountPoint,...) was
>> a NULL dereference when i==VIR_CGROUP_CONTROLLER_CPUSET, because it
>> assumes the worst about virCgroupPathOfController. Marking the