Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 83479 - Binary data in error message.
Summary: Binary data in error message.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-02-04 19:55 UTC by Ralph Loader
Modified: 2007-04-18 16:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-04 20:47:54 UTC


Attachments (Terms of Use)

Description Ralph Loader 2003-02-04 19:55:47 UTC
Description of problem:

rpm prints error messages with binary data. (Not sure if rpm or db4 is at fault).

Version-Release number of selected component (if applicable):

rpm-4.2-0.65
db4-4.0.14-17

How reproducible:

Every time.

Steps to Reproduce:
1. As non-root, try to remove some installed rpms:

rpm -e XFree86-ISO8859-2-75dpi-fonts-4.2.99.4-20030129.4 2>&1|less

Actual results:

Some of the error message contains binary data.  Cut'n'paste from less:

rpmdb: c_del: attempt to modify a read-only tree
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "<CB><FC>uj-4<CC>xO<A7>#<9B>F<83>88^^" from
Filemd5s

Expected results:

The error messages should only contain text.

Comment 1 Jeff Johnson 2003-02-04 20:47:54 UTC
You've got bigger problems than binary data in error message.

Try
    rm -f /var/lib/rpm/__db*
    rpm --rebuilddb -vv
and repeating whatever caused the above.

Please attach sufficient input/output to reproduce this
problem  if you reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.