Skip to content

Commit c94ff83

Browse files
authored
Merge pull request #472 from Ghabry/encoding
Fix heap corruption in Encoder
2 parents 11bb066 + a85e7a8 commit c94ff83

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/encoder.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* file that was distributed with this source code.
88
*/
99

10-
#include "lcf/config.h"
1110
#include "lcf/encoder.h"
1211
#include "lcf/reader_util.h"
1312
#include "lcf/scope_guard.h"

src/lcf/encoder.h

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
#ifndef LCF_ENCODER_H
1111
#define LCF_ENCODER_H
12+
13+
#include "lcf/config.h"
1214
#include <vector>
1315
#include <string>
1416

0 commit comments

Comments
 (0)