Ticket #1087 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

[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:

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

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

Change History

Changed 17 months ago by Echelon9

Proposed fix for snd_mgr swprintf_s signedness

comment:1 Changed 17 months ago by philip

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:2 Changed 17 months ago by historic_bruno

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