intel / intel/hyperscan

Visual Studio 2019 overflow warning

Open
#225 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

Building Hyperscan 5.2.1 in Visual Studio 2019 results in a buffer overflow warning:
```
hyperscan\src\util\simd_utils.h(613): warning C4789: buffer 'tempbuf' of size 24 bytes will be overrun; 16 bytes will be written starting at offset 16
```

The [code in question](https://github.com/intel/hyperscan/blob/v5.2.1/src/util/simd_utils.h#L613) is the non-AVX2 branch of `storeu256`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.