oss-fuzz/projects/mysql-server
준화 f8d2bb7548
[mysql-server] Update patch for fuzzers (#10260)
Hi, I updated the patch for mysql-server to be compatible with the
current version.
The patch was lastly updated 2 years ago, and it shows the following
errors.
```
+ cd mysql-server
+ git apply ../fix.diff
error: patch failed: sql/mysqld.cc:6991
error: sql/mysqld.cc: patch does not apply
ERROR:__main__:Building fuzzers failed.
```
<img width="510" alt="image"
src="https://user-images.githubusercontent.com/17183234/236576978-76223986-3621-413c-be5f-da94b44de74c.png">

So I updated the patch with the current version of MySQL server.

In my local, I tested with bellow commands, and it works correctly now.
`python3 infra/helper.py build_image mysql-server`
`python3 infra/helper.py build_fuzzers --sanitizer address mysql-server`
`python3 infra/helper.py check_build mysql-server`

<img width="612" alt="image"
src="https://user-images.githubusercontent.com/17183234/236576936-e0cc38d3-944a-42c2-9a76-659c025e5f48.png">
2023-05-09 08:29:24 -04:00
..
targets [mysql-server] Update patch for fuzzers (#10260) 2023-05-09 08:29:24 -04:00
Dockerfile
build.sh
fix.diff [mysql-server] Update patch for fuzzers (#10260) 2023-05-09 08:29:24 -04:00
project.yaml