The Coverity scan of open-vm-tools reports an out-of-bounds access
issue in Util_BacktraceWithFunc. This is intentional, to compute
the base pointer for a stack trace.
/*********************************************************
- * Copyright (C) 2013-2019 VMware, Inc. All rights reserved.
+ * Copyright (C) 2013-2020 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
} else {
outFunc(outFuncData, "Backtrace for bugNr=%d\n",bugNr);
}
+ /* coverity[ptr_arith] */
UtilBacktraceFromPointerWithFunc(&x[-2], outFunc, outFuncData);
#endif
}