Memory corruption when using many arrays

Bug #861498 reported by Kees-Jan Dijkzeul
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Using a bc script that uses many arrays, I've stumbled upon a memory corruption issue in bc/storage.c, function more_arrays().

Attached patch seems to fix the problem for me.

Found in: Both ubuntu 8.04.1 and 10.04.3
Package version: All (verified in 1.06.94-3ubuntu1, 1.06.95-2, and the 1.06 source tarball downloaded from upstream)

Tags: patch
Revision history for this message
Kees-Jan Dijkzeul (kees-jan.dijkzeul) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix for this bug" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
description: updated
Revision history for this message
Ryan Kavanagh (ryanakca) wrote :

Thanks for the bug report. This has been fixed by bc 1.06.95-7 in Debian, which has now made its way to Ubuntu.

Changed in bc (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.