An error occurred while fetching folder content.
Forked from
Dhina17 / platform_frameworks_base
Source project has a limited visibility.
George Burgess IV
authored
It seems the behavior of strdup is undefined when NULL is passed in. Clang's static analyzer complains about this: > frameworks/base/tools/bit/command.cpp:195:25: warning: Null pointer passed to 1st parameter expecting 'nonnull' [clang-analyzer-core.NonNullParamChecker] Since we don't seem to care about malloc failures (which is a good thing IMO), adding a second check for the successful completion of `strdup` seems pointless. Bug: 206470603 Test: TreeHugger Change-Id: Ib621659e6fb600203694974f02d96ba0acb3362f
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name | Last commit | Last update |
---|---|---|
.. |