Ticket #87 (assigned defect)

Opened 3 months ago

Last modified 3 months ago

front page example has broken delete for yaml_event_delete

Reported by: anonymous R Assigned to: xi (accepted)
Priority: normal Component: libyaml
Severity: normal Keywords:
Cc:

Description

In the PARSER API Synopsis example program there is a memory bug.

the while loop checks the type of the event.type but the event has already been deleted. the delete invalidates the event type under debian on my x86 system. to fix the bug, i had to introduce another integer variable to hold the type so that the loop can check that to know when to end.

Attachments

Change History

07/29/08 17:36:22 changed by xi

  • status changed from new to assigned.

Add/Change #87 (front page example has broken delete for yaml_event_delete)




Change Properties
Action