Projects STRLCPY CVE-2022-42864 Commits b28a0523
🤬
  • ■ ■ ■ ■
    README.md
    skipped 12 lines
    13 13  [Apple's comment](https://github.com/apple-oss-distributions/IOHIDFamily/blob/19666c840a6d896468416ff0007040a10b7b46b8/IOHIDFamily/IOHIDDevice.cpp#L1601) from the source code when this issue was fixed sums this up nicely:
    14 14   
    15 15  ```cpp
    16  - // Find the number of cookies in the data. The data from elementData is shared with user space and may change at any time.
     16 +// Find the number of cookies in the data. The data from elementData is shared with user space and may change at any time.
    17 17  ```
    18 18   
    19 19  Let us have a look at the function before the patch (I have tried to label relevant lines):
    skipped 154 lines
Please wait...
Page is in error, reload to recover