Functionality Bug (Group-2): Invalid Room ID Accepted (logappend)
Description
The system allows appending an entry with an invalid room ID (-1), which violates the specification that room IDs should be non-negative integers. Even though the room ID is invalid, the entry is still added to the log and later shown by logread. There is no validation in place to check the correctness of the room ID, leading to incorrect entries in the log.
Demonstration
As shown in the attached image, the system accepts a log entry with an invalid room ID -1. The logappend command processes the entry without checking the validity of the room ID, and the logread command displays the invalid room ID in the output.
Functionality Bug (Group-2): Invalid Room ID Accepted (logappend)
Description
The system allows appending an entry with an
invalid room ID
(-1), which violates the specification that room IDs should be non-negative integers. Even though the room ID is invalid, the entry is still added to the log and later shown by logread. There is no validation in place to check the correctness of the room ID, leading to incorrect entries in the log.Demonstration
As shown in the attached image, the system accepts a log entry with an invalid room ID
-1
. The logappend command processes the entry without checking the validity of the room ID, and the logread command displays the invalid room ID in the output.Reported by: Daksh Jain(22110066)