Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1087 closed defect (fixed)

[PATCH] (snd_mgr) Incorrect format on the fourth actual argument of the 'swprintf_s' function. The SIGNED integer type argument is expected.

Reported by: Echelon9 Owned by:
Priority: Should Have Milestone: Alpha 9
Component: Core engine Keywords: printf
Cc: Patch:

Description

Within the snd_mgr.cpp file, two occurrences of a format string expecting signed int when the data itself is an unsigned int, ALuint.

Proposed patch attached.

Attachments (1)

t1087-snd_mgr-swprintf_s-signedness-fix.patch (768 bytes ) - added by Echelon9 12 years ago.
Proposed fix for snd_mgr swprintf_s signedness

Download all attachments as: .zip

Change History (3)

by Echelon9, 12 years ago

Proposed fix for snd_mgr swprintf_s signedness

comment:1 by philip, 12 years ago

Resolution: fixed
Status: newclosed

(In [10846]) Detect and fix printf signedness errors. Fixes #1086, #1087.

comment:2 by historic_bruno, 12 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.