Skip to content

CID1508993: Invalid type in argument to printf format specifier #10222

Closed

Description

@maskit
150    if (unlikely(api_info->tsremap_version < TSREMAP_VERSION)) {
   	
CID 1508993 (#2 of 2): Invalid type in argument to printf format specifier (PRINTF_ARGS)
invalid_type: Argument api_info->tsremap_version >> 16 to format specifier %d was expected to have type int but has type unsigned long. [[show details](https://scan6.scan.coverity.com/eventId=34625644-0&modelId=34625644-0&fileInstanceId=162997152&filePath=%2Fexample%2Fplugins%2Fc-api%2Fremap%2Fremap.cc&fileStart=120&fileEnd=131)]
151      return store_my_error_message(TS_ERROR, errbuf, errbuf_size, "Incorrect API version %d.%d", (api_info->tsremap_version >> 16),
     	CID 1508993 (#1 of 2): Invalid type in argument to printf format specifier (PRINTF_ARGS) [[select issue](https://scan6.scan.coverity.com/defectInstanceId=34625542&fileInstanceId=157340154&mergedDefectId=1508993)]
152                                    (api_info->tsremap_version & 0xffff));
153    }

Activity

  1. moved this to Todo in ATS v10.0.xon Aug 16, 2023
  2. added 2 commits that reference this issue on Aug 21, 2023
    5e9bed0
    c228a1d
  3. moved this from Todo to Coverity Defects in ATS v10.0.xon Aug 22, 2023
  4. added a commit that references this issue on Aug 28, 2023
    6dd6f5e
  5. added a commit that references this issue on Aug 29, 2023
    d43823b
  6. moved this from Coverity Defects to Done in ATS v10.0.xon Aug 29, 2023
  7. added a commit that references this issue on Jun 3, 2024
    b2a14d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions