Skip to content

Commit

Permalink
Merge pull request #19417 from mckellyln/hpcc-33240
Browse files Browse the repository at this point in the history
HPCC-33240 Array out of bounds error when compiling in Release mode

Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Jan 16, 2025
2 parents e690053 + 96a20ea commit 831af8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roxie/udplib/udptrr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ enum class ReceiveState {
granted, // at least one permit granted and NO pending request, waiting for data to be sent
max
};
constexpr const char * receiveStateNameText[(unsigned)ReceiveState::max] = { "idle", "requested", "granted" };
constexpr const char * receiveStateNameText[(unsigned)ReceiveState::max+1] = { "idle", "requested", "granted", "unknown" };
const char * receiveStateName(ReceiveState idx) { return receiveStateNameText[(unsigned)idx]; }


Expand Down

0 comments on commit 831af8e

Please sign in to comment.