lp:~mc-return/compiz/compiz.fix1030473-part4

Created by MC Return on 2012-08-06 and last modified on 2012-08-06
Get this branch:
bzr branch lp:~mc-return/compiz/compiz.fix1030473-part4
Only MC Return can upload to this branch. If you are MC Return please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
MC Return
Project:
Compiz
Status:
Development

Recent revisions

3312. By MC Return on 2012-08-06

Changed the int buttonNum to unsigned int buttonNum and changed "%d" to "%2u", because we do not have negative buttonNums and never more than 99 buttons

3311. By MC Return on 2012-08-06

Added field width specifiers (%5d x2) to "screenshot%d"

3310. By MC Return on 2012-08-06

Added field width specifier " %256s " to sscanf (for variable nameTrimmed)

3309. By MC Return on 2012-08-06

Added field width specifiers to " %d " changing them to " %5d " for the int variables vb and vi

3308. By MC Return on 2012-08-06

Added a field width specifier to " %s " changing it to " %256s " to allow a maximum of 256 characters for optNamesValues (is it too much ?)

3307. By MC Return on 2012-08-06

Changed 'int buttonNum;' to 'unsigned int buttonNum;', because buttonNum should always be positive
Changed 'if (sscanf (binding + strlen ("Button"), "%d", &buttonNum) == 1)' to 'if (sscanf (binding + strlen ("Button"), "%2u", &buttonNum) == 1)', because buttonNum should never be higher than 20

3306. By MC Return on 2012-08-06

Changed 'sscanf (token, "screen%d", &screenNum);' to 'sscanf (token, "screen%5u", &screenNum);', adding a field width specifier and changing the type from decimal integer to an unsigned integer (min 0, max 65536)

3305. By MC Return on 2012-08-06

Prevent overflow of name[1024] by adding a field width specifier (%1023s)

3304. By MC Return on 2012-08-06

Reduced the scope of the variable 'icccm_version', removed a break that can never be executed, added the variables 'frameType', 'frameState' and 'frameActions' to decor_quads_to_property in the #else branch in KWD::Switcher::updateWindowProperties () as well and simplified calc_button_size (decor_t *d) in cairo.c.. Fixes: https://bugs.launchpad.net/bugs/1030473. Approved by Daniel van Vugt.

3303. By madill on 2012-08-06

bug fix for minor bug 1033085
 Commands addon desripion typo Buning -> binding. Fixes: https://bugs.launchpad.net/bugs/1033085. Approved by MC Return, Omer Akram.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz/0.9.8
This branch contains Public information 
Everyone can see this information.

Subscribers