db: dbPutNotifyBlocker type check
This commit is contained in:
1 parent
bff771ac60
commit
bc40b6155b
1 file changed
+1
-1
@@ -164,7 +164,7 @@ void dbPutNotifyBlocker::initiatePutNotify (
|
||||
throw cacChannel::outOfBounds();
|
||||
}
|
||||
|
||||
if ( type > SHRT_MAX ) {
|
||||
if ( INVALID_DB_REQ(type) ) {
|
||||
throw cacChannel::badType();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user