Contents of opaque records should not be printed

Bug #173382 reported by Abdulaziz Ghuloum
4
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Released
Wishlist
Abdulaziz Ghuloum

Bug Description

From Derick Eddington:
Since opaque records aren't supposed to reveal their RTD (which prevents inspection) and they can't even be determined with record?, and I'd like to be able to rely on opaque records to enforce security of sensitive information encapsulation, I favor that opaque records print as only #<record>

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 1167:
Ikarus Scheme version 0.0.2+ (revision 1167, build 2007-12-02)
Copyright (c) 2006-2007 Abdulaziz Ghuloum

> (define-record-type foo (opaque #t))
> (make-foo)
#<unknown>
> (define-record-type bar (opaque #f))
> (make-bar)
#[bar]
> ^D

Changed in ikarus:
status: Confirmed → Fix Committed
Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

This bug report is about to be closed as the fix comitted
previously will be incorporated in the next 0.0.3 release of
Ikarus Scheme, scheduled for January 31, 2008. A release
candidate tarball is available for download from:
http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-0.0.3-rc1.tar.gz
Please do test it if you have the time and report any issues
you might encounter. Thank you very much for your support.
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.3
Changed in ikarus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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