Skip to content

class SeerData #3

Description

@ygd2013520

针对SeerData类的私有变量m_data[1],在setData的调用memcpy(m_data, data, size);的时候,如果数据区不为null,这个size的大小应该不止1,memcpy会不会越界,这个地方没看懂,还是说是c++的高级用法,可以指导解释一下吗?
(代码在SCHeadData.h文件里面)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions