~vcs-imports-ii/gnu-smalltalk/master

Viewing all changes in revision 2079.

  • Committer: Holger Hans Peter Freyther
  • Date: 2017-11-25 07:11:12 UTC
  • Revision ID: git-v1:38482999ef2ec401a88ea8ce55bbb50bfe5ae626
gst-tool: Fix ASAN issue on comparing options

In case name is longer than all_opts->name memcmp would read
beyond all_opts->name. Use strncmp to stop at the first \0.

2017-02-08  Holger Hans Peter Freyther  <holger@freyther.de>

        * gst-tool.c: Use strncmp instead of memcmp.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: