mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix narrowing conversion compiler error in SMB error-response logic
This commit is contained in:
parent
0b8535b879
commit
07c4662dc4
3 changed files with 8 additions and 2 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
|||
|
||||
3.3.0-dev.630 | 2020-12-07 16:52:52 -0800
|
||||
|
||||
* Fix narrowing conversion compiler error in SMB error-response logic (Jon Siwek, Corelight)
|
||||
|
||||
3.3.0-dev.629 | 2020-12-07 16:03:25 -0800
|
||||
|
||||
* Add tests for new SMB3 multichannel support (Vlad Grigorescu)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
3.3.0-dev.629
|
||||
3.3.0-dev.630
|
||||
|
|
|
@ -282,7 +282,9 @@ refine connection SMB_Conn += {
|
|||
// Non-zero USUALLY means an error, except for the specific cases detailed in
|
||||
// [MS-SMB2] 3.3.4.4 Sending an Error Response
|
||||
|
||||
switch ( ${header.status} ) {
|
||||
auto status = static_cast<SMB_Status>(${header.status});
|
||||
|
||||
switch ( status ) {
|
||||
case 0:
|
||||
// No error.
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue