Libhtp rust build fix (#12217)

Cf https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70200#c2

Found with `git grep RUSTUP_TOOLCHAIN`
This commit is contained in:
Catena cyber 2024-07-15 19:37:22 +02:00 committed by GitHub
parent e1ce8d1aad
commit e417742b5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -15,9 +15,10 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-rust
ENV RUSTUP_TOOLCHAIN nightly-2024-07-07
RUN apt-get update && apt-get install -y make autoconf automake libtool zlib1g-dev liblzma-dev
RUN git clone --depth 1 https://github.com/OISF/libhtp.git libhtp
RUN git clone --depth 1 https://github.com/cccs-rtmorti/libhtp-rs.git libhtp-rs
RUN git clone --branch main --depth 1 https://github.com/catenacyber/libhtp-rs.git libhtp-rs
WORKDIR $SRC
COPY build.sh $SRC/
COPY multiple.txt $SRC/

View File

@ -8,6 +8,7 @@ bstr_ptr
htp_connp_
htp_tx_destroy
htp_tx_set_user_data
htp_tx_get_user_data
htp_tx_register_response_body_data
htp_get_version
htp_config_