Commit d324fb8
committed
Fix bitset copy assignment operator to not run off end of array.
If using a bitset with an even number of bytes, for example bitset<16>,
the original code tried to copy 3 bytes instead of 2 and would run off
the end of the array.1 parent 7411816 commit d324fb8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments