Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005802 [DCSS] Bug Report minor always 2012-06-19 19:28 2012-06-21 00:18
Reporter danharaj View Status public  
Assigned To neil
Priority normal Resolution done  
Status closed   Product Branch 0.11 ancient branch
Summary 0005802: Autopickup settings leak information about randarts
Description Suppose you turn off auto-pickup of, say rings of magical power in the recognized items menu. Now, if you come across an unid randart ring with base type magical power, you will not pick it up. I have seen this with many rings. This leaks information about the randart that shouldn't be available to the player.
Additional Information
Tags No tags attached.
Attached Files ? file icon crawl-0005802-autopickup-info-leak-fix.patch [^] (2,484 bytes) 2012-06-20 21:23 [Show Content]

- Relationships
has duplicate 0005771resolvedneil Infoleak in autopickup ? 

-  Notes
(0018504)
ldierk (reporter)
2012-06-20 14:59

I noticed the same in bug 0005771
https://crawl.develz.org/mantis/view.php?id=5771 [^]
(0018509)
sgrunt (administrator)
2012-06-20 21:23

Here's a patch that ignores the item subtype checks for autopickup in the case of artefacts whose base item type isn't known, which should plug the information leak.
(0018512)
neil (administrator)
2012-06-20 22:49

This patch causes autopickup_exceptions to be ignored too for these items, which breaks autopickup_exception = <artefact . Since AEs look at the item name (which already takes knowledge into account) and not the item itself, there shouldn't be an info leak thereā€”at least, not once the inheritance of force_autopickup from AEs is removed (0005772 ). I'll commit a modified version after a bit of testing.
(0018513)
neil (administrator)
2012-06-20 23:08

Fixed in trunk (0.11-a0-2366-g6bb3af0).

- Issue History
Date Modified Username Field Change
2012-06-19 19:28 danharaj New Issue
2012-06-20 06:40 Thann Issue Monitored: Thann
2012-06-20 14:59 ldierk Note Added: 0018504
2012-06-20 17:09 galehar Relationship added has duplicate 0005771
2012-06-20 21:23 sgrunt File Added: crawl-0005802-autopickup-info-leak-fix.patch
2012-06-20 21:23 sgrunt Note Added: 0018509
2012-06-20 22:49 neil Note Added: 0018512
2012-06-20 22:49 neil Assigned To => neil
2012-06-20 22:49 neil Status new => assigned
2012-06-20 23:08 neil Note Added: 0018513
2012-06-20 23:08 neil Status assigned => resolved
2012-06-20 23:08 neil Fixed in Branch => 0.11 development branch
2012-06-20 23:08 neil Resolution open => done
2012-06-21 00:18 danharaj Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker