diff options
author | shadchin <shadchin@yandex-team.com> | 2023-08-15 16:58:37 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.com> | 2023-08-15 18:14:44 +0300 |
commit | 47b2ba312324ddf016c210b2a7072b9cbb0719ee (patch) | |
tree | 23fa416328a842f28afc39d63cafe1b29d6186cb /contrib/libs/hyperscan/src/hs.cpp | |
parent | 183828b85d8da109522e46c6c7720664d8552e4e (diff) | |
download | ydb-47b2ba312324ddf016c210b2a7072b9cbb0719ee.tar.gz |
Update contrib/libs/hyperscan to 5.4.2
Diffstat (limited to 'contrib/libs/hyperscan/src/hs.cpp')
-rw-r--r-- | contrib/libs/hyperscan/src/hs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/libs/hyperscan/src/hs.cpp b/contrib/libs/hyperscan/src/hs.cpp index eac588891c..ae9cdf1468 100644 --- a/contrib/libs/hyperscan/src/hs.cpp +++ b/contrib/libs/hyperscan/src/hs.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2020, Intel Corporation + * Copyright (c) 2015-2021, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -514,6 +514,12 @@ hs_error_t hs_expression_info_int(const char *expression, unsigned int flags, return HS_COMPILER_ERROR; } + if (flags & HS_FLAG_COMBINATION) { + *error = generateCompileError("Invalid parameter: unsupported " + "logical combination expression", -1); + return HS_COMPILER_ERROR; + } + *info = nullptr; *error = nullptr; |