[augeas-devel] [Augeas] #294: Invalid read of size 8

Augeas trac at fedorahosted.org
Sun Aug 12 13:11:51 UTC 2012


#294: Invalid read of size 8
-------------------------+--------------------
  Reporter:  fgiraldeau  |      Owner:  lutter
      Type:  defect      |     Status:  new
  Priority:  major       |  Milestone:  next
 Component:  Augeas      |    Version:  devel
Resolution:              |   Keywords:
Blocked By:              |   Blocking:
-------------------------+--------------------

Comment (by fgiraldeau):

 Got it! The problem is really related to enc_format() and the use of
 stpcpy(). The patch to reproduce the problem is updated to use the right
 string length. By using strcpy instead of stpcpy, the problem do not occur
 anymore.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/294#comment:3>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list