~xnox/whoopsie/guard-const

Viewing all changes in revision 627.

  • Committer: Dimitri John Ledkov
  • Date: 2014-06-10 02:53:58 UTC
  • Revision ID: dimitri.ledkov@canonical.com-20140610025358-7mzhq5n3wdierrvc
Do not try to realloc string literals.

Make a failing test-case, then fix code to use strdup (safe) instead
of doing realloc.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: