Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Data is copied from the instance, not the declaration

...

This noncompliant code example runs in kernel space and copies data from struct test arg to user space. However, padding bytes may be used within the structure, for example, to ensure the proper alignment of the structure members. These padding bytes may contain sensitive information, which may then be leaked when the data is copied to user space.

...