Opened 6 years ago

Closed 6 years ago

#10256 closed bug (fixed)

Fix Argument Count Mismatch from Coverity

Reported by: Freeman Owned by: anevilyak
Priority: normal Milestone: R1
Component: Network & Internet/Stack Version: R1/Development
Keywords: gci2013 Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

Coverity CIDs: 991488 and 991489

Printf arg type mismatch and printf arg count mismatch.

Attachments (2)

0001-fix-argument-count-mismatch.patch (767 bytes ) - added by Freeman 6 years ago.
0001-fix-argument-count-mismatch.2.patch (844 bytes ) - added by Freeman 6 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Freeman, 6 years ago

Has a Patch: set

comment:2 by umccullough, 6 years ago

Actually, I think this is the wrong fix - B_PRId32 is a macro which is used to return a platform-specific printf string - for example "ld" - what seems to be missing is the % in the string itself, as you can see it's supposed to show the line count there.

comment:3 by umccullough, 6 years ago

Component: Network & InternetNetwork & Internet/Stack
Keywords: gci2013 added; arp removed
Owner: changed from nobody to axeld
Type: enhancementbug

comment:4 by anevilyak, 6 years ago

Owner: changed from axeld to anevilyak
Status: newin-progress

comment:5 by anevilyak, 6 years ago

Applied in hrev46452. Thanks!

comment:6 by anevilyak, 6 years ago

Resolution: fixed
Status: in-progressclosed
Note: See TracTickets for help on using tickets.