Opened 12 years ago

Closed 12 years ago

#4176 closed Bugs (fixed)

Conditional jump uses uninitialized variable

Reported by: John Keeping <john.keeping@…> Owned by: Hartmut Kaiser
Milestone: Boost 1.43.0 Component: wave
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The first time through the loop in a pp_iterator_functor it sets seen_newline based on the value of skipped_newline but this has not been initialized in a newly created functor.

The attached patch fixes this.

Attachments (1)

boost-wave-iterator.patch (596 bytes ) - added by John Keeping <john.keeping@…> 12 years ago.

Download all attachments as: .zip

Change History (2)

by John Keeping <john.keeping@…>, 12 years ago

Attachment: boost-wave-iterator.patch added

comment:1 by Hartmut Kaiser, 12 years ago

Resolution: fixed
Status: newclosed

(In [61723]) Wave: fixed #4176

Note: See TracTickets for help on using tickets.