Skip to content

Commit

Permalink
[Build fix] cups, gpsd, krb5, libmodbus, ntpsec, pupnp, unit (#11820)
Browse files Browse the repository at this point in the history
Hello oss-fuzz team,
As I already told @jonathanmetzman, That my GitHub account '0x34d' is
flagged. So i will be using this one instead.

Sorry boys :)

---------

Signed-off-by: Arjun <[email protected]>
  • Loading branch information
pkillarjun authored Apr 24, 2024
1 parent 8709f07 commit d570417
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion projects/cups/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y autoconf libtool-bin pkg-config zlib1g-dev libavahi-client-dev libsystemd-dev
RUN git clone --depth 1 https://github.com/OpenPrinting/cups
RUN git clone https://github.com/0x34d/oss-fuzz-bloat
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat
COPY build.sh $SRC/
COPY fuzzer $SRC/cups/fuzzer/
WORKDIR $SRC/cups/
2 changes: 1 addition & 1 deletion projects/gpsd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y scons python3-distutils
RUN git clone --depth 1 https://gitlab.com/gpsd/gpsd
RUN git clone https://github.com/0x34d/oss-fuzz-bloat
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat
COPY build.sh $SRC/
COPY fuzzer/ $SRC/gpsd/fuzzer/
WORKDIR $SRC/gpsd/
2 changes: 1 addition & 1 deletion projects/krb5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make autoconf bison flex
RUN git clone --depth 1 https://github.com/krb5/krb5
RUN git clone https://github.com/0x34d/oss-fuzz-bloat
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat
COPY build.sh $SRC/
COPY fuzzing/ $SRC/krb5/fuzzing/
WORKDIR $SRC/krb5/
2 changes: 1 addition & 1 deletion projects/libmodbus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make autoconf automake libtool libtool-bin
RUN git clone https://github.com/stephane/libmodbus.git
RUN git clone https://github.com/0x34d/oss-fuzz-bloat.git
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat.git
COPY build.sh $SRC/
COPY fuzz/ $SRC/libmodbus/fuzz/
WORKDIR $SRC/libmodbus/
2 changes: 1 addition & 1 deletion projects/ntpsec/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y autoconf automake build-essential bison libssl-dev libcap-dev libseccomp-dev libavahi-compat-libdnssd-dev pps-tools python3-dev
RUN git clone https://gitlab.com/NTPsec/ntpsec
RUN git clone https://github.com/0x34d/oss-fuzz-bloat
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat
COPY build.sh $SRC/
COPY fuzz/ $SRC/ntpsec/fuzz/
WORKDIR $SRC/ntpsec/
3 changes: 3 additions & 0 deletions projects/ntpsec/fuzz/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ limitations under the License.

const char *progname = "ntpsecfuzz";

/* Hack to keep linker happy */
uint16_t extra_port = 0;

void dns_take_server(struct peer *a, sockaddr_u *b);
void dns_take_status(struct peer *a, DNS_Status b);

Expand Down
2 changes: 1 addition & 1 deletion projects/pupnp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y cmake
RUN git clone https://github.com/pupnp/pupnp
RUN git clone https://github.com/0x34d/oss-fuzz-bloat
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat
COPY build.sh $SRC/
WORKDIR $SRC/pupnp/
2 changes: 1 addition & 1 deletion projects/unit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y autoconf
RUN git clone --depth 1 https://github.com/nginx/unit
RUN git clone https://github.com/0x34d/oss-fuzz-bloat
RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat
COPY build.sh $SRC/
COPY fuzzer/ $SRC/unit/fuzzer/
WORKDIR $SRC/unit/

0 comments on commit d570417

Please sign in to comment.