[Merge] compiz:mitya57/fix-gcc-stringop-truncation-error into compiz:master

Dmitry Shachnev mitya57 at gmail.com
Thu Feb 14 15:15:40 UTC 2019


Dmitry Shachnev has proposed merging compiz:mitya57/fix-gcc-stringop-truncation-error into compiz:master.

Commit message:
session: Fix GCC -Wstringop-truncation error.

Requested reviews:
  Alberts Muktupāvels (muktupavels)
  Marco Trevisan (Treviño) (3v1n0)
  Compiz Maintainers (compiz-team)

For more details, see:
https://code.launchpad.net/~compiz-team/compiz/+git/compiz/+merge/363211

session: Fix GCC -Wstringop-truncation error.

There is no sense in calling strncpy when nItems == 0.

The correct check is copied from TitleinfoScreen::getUtf8Property().
-- 
Your team Compiz Maintainers is requested to review the proposed merge of compiz:mitya57/fix-gcc-stringop-truncation-error into compiz:master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 476 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20190214/88a1ece5/attachment.diff>


More information about the Ubuntu-reviews mailing list