Commit 6ed5b87f authored by George Burgess IV's avatar George Burgess IV
Browse files

dexdump: fix a static analyzer complaint

Clang's static analyzer was complaining that the size in
strncat(buf + bufUsed - 1, param, bufSize - (bufUsed - 1));
was greater than the number of bytes available in the buffer. I don't
see why it thinks that.

If we refactor the code slightly, this warning goes away.

Bug: 27101951
Test: mma. Warning is gone.
Change-Id: Id1619ec6d80e20f0c157dbb43d72ac861b8f8064
parent dfdc0806
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment