Menu

#55 XML: Declaration / initialization error in execution

GC 3.x
closed
nobody
libcob (3)
5 - default
2022-10-23
2022-02-16
sbelondr
No

Hi,
I would like to report that I have found a solution with the problem of unaddressable byte (bug: #808).

The problem is that f->record->size can be larger than f->record_max. While f->record->data is allocated with f->record_max. That produces an unaddressable byte.

I just added a condition if f->record->size is greater than f->record_max then I set f->record->size to f->record_max.

You can find the small patch and the test.

2 Attachments

Discussion

  • Simon Sobisch

    Simon Sobisch - 2022-10-23

    Superseded by [r4800], see the [bugs:#808] for the details.

     

    Related

    Bugs: #808
    Commit: [r4800]

  • Simon Sobisch

    Simon Sobisch - 2022-10-23
    • status: open --> closed
     

Log in to post a comment.