Description of problem: Reading a save file on x86_64 causes internal data corruption. The problem is in the state.c:rs_read_long() function which tries to read 4 bytes of data into an uninitialized long pointer. Instead, it should read the 4 bytes into an int and then cast to a long. Version-Release number of selected component (if applicable): rogue-5.4.2-8.fc7.x86_64 How reproducible: Always Steps to Reproduce: 1. Start a new game 2. kill one or two monsters 3. Save the game and exit 4. Start the game again from the save file (rogue -r) 5. Look at your experience points Actual results: experience point counter is corrupted and displays an absurdly large value. Expected results: The same amount of experience is displayed as what was shown before the game was saved.
rogue-5.4.2-9.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
rogue-5.4.2-9.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.