vbindiff crashes when comparing files of different length

Bug #1283418 reported by Peter Ross
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
vbindiff (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

steps to reproduce:
% dd if=/dev/zero of=/tmp/1 count=4096
% dd if=/dev/zero of=/tmp/2 count=8192
% vbindiff /tmp/1 /tmp/2

then press enter key to display next difference
>> Segmentation fault (core dumped)

patch enclosed.

Tags: patch
Revision history for this message
Peter Ross (pross-au) wrote :
Revision history for this message
Peter Ross (pross-au) wrote :

% lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10

% apt-cache policy vbindiff
vbindiff:
  Installed: 3.0-beta4-1
  Candidate: 3.0-beta4-1
  Version table:
 *** 3.0-beta4-1 0
        500 http://au.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-vbindiff-prevent-segfault-when-comparing-files-of-di.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vbindiff (Ubuntu):
status: New → Confirmed
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.