GithubHelp home page GithubHelp logo

chrohrer / rad_eap_test Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 27 KB

Docker image for testing EAP (Extensible Authentication Protocol)

License: MIT License

Shell 97.90% Dockerfile 2.10%
docker eduroam eap

rad_eap_test's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jensbach mpdroog

rad_eap_test's Issues

Docker build failed on make eapol_test (bss.c:686:25: error: pointer 'bss' may be used after 'realloc' ...)

docker build . -t rad_eap_test:latest
[+] Building 13.6s (12/16)                                                                                                                                                                                                       
 => [internal] load build definition from Dockerfile                                                                                                                                                                        0.0s
 => => transferring dockerfile: 846B                                                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                                                           0.0s
 => => transferring context: 2B                                                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/frolvlad/alpine-gcc:latest                                                                                                                                                       2.3s
 => [auth] frolvlad/alpine-gcc:pull token for registry-1.docker.io                                                                                                                                                          0.0s
 => [ 1/11] FROM docker.io/frolvlad/alpine-gcc:latest@sha256:62e2ab064db2b476165f078f3623bf99297de9ee9f84c5e53feecb4aaf998678                                                                                               3.6s
 => => resolve docker.io/frolvlad/alpine-gcc:latest@sha256:62e2ab064db2b476165f078f3623bf99297de9ee9f84c5e53feecb4aaf998678                                                                                                 0.0s
 => => sha256:f8f41ada4a8fb09244f8bbcb0f16707f32a52131df2312051bff798f5fe78a5f 56.08MB / 56.08MB                                                                                                                            1.1s
 => => sha256:62e2ab064db2b476165f078f3623bf99297de9ee9f84c5e53feecb4aaf998678 702B / 702B                                                                                                                                  0.0s
 => => sha256:8aecba4bd4175b075a236ac5ae6933cfc6e7e66e7061411a1ba138a28a0b41b8 1.84kB / 1.84kB                                                                                                                              0.0s
 => => extracting sha256:f8f41ada4a8fb09244f8bbcb0f16707f32a52131df2312051bff798f5fe78a5f                                                                                                                                   2.3s
 => [internal] load build context                                                                                                                                                                                           0.0s
 => => transferring context: 37.75kB                                                                                                                                                                                        0.0s
 => [ 2/11] WORKDIR /eapol                                                                                                                                                                                                  0.3s
 => [ 3/11] RUN apk update && apk upgrade &&     apk add --update linux-headers make openssl openssl-dev bind-tools freeradius-radclient grep bash &&     rm /var/cache/apk/*                                               3.5s
 => [ 4/11] RUN wget https://w1.fi/releases/wpa_supplicant-2.10.tar.gz -O - | tar -xz                                                                                                                                       1.2s 
 => [ 5/11] COPY defconfig /eapol/wpa_supplicant-2.10/wpa_supplicant/.config                                                                                                                                                0.0s 
 => [ 6/11] WORKDIR /eapol/wpa_supplicant-2.10/wpa_supplicant                                                                                                                                                               0.0s 
 => ERROR [ 7/11] RUN make eapol_test                                                                                                                                                                                       2.5s 
------                                                                                                                                                                                                                           
 > [ 7/11] RUN make eapol_test:                                                                                                                                                                                                  
#0 1.567   CC  config.c                                                                                                                                                                                                          
#0 1.892   CC  notify.c                                                                                                                                                                                                          
#0 2.390 In function 'wpa_bss_update',                                                                                                                                                                                           
#0 2.390     inlined from 'wpa_bss_update_scan_res' at bss.c:811:9:                                                                                                                                                              
#0 2.390 bss.c:701:25: error: pointer 'bss' may be used after 'realloc' [-Werror=use-after-free]
#0 2.390   701 |                         wpa_bss_update_pending_connect(wpa_s, bss, nbss);
#0 2.390       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 2.391 In file included from /eapol/wpa_supplicant-2.10/src/utils/common.h:12,
#0 2.391                  from bss.c:11:
#0 2.391 /eapol/wpa_supplicant-2.10/src/utils/os.h:488:26: note: call to 'realloc' here
#0 2.391   488 | #define os_realloc(p, s) realloc((p), (s))
#0 2.391       |                          ^~~~~~~~~~~~~~~~~
#0 2.391 bss.c:689:24: note: in expansion of macro 'os_realloc'
#0 2.391   689 |                 nbss = os_realloc(bss, sizeof(*bss) + res->ie_len +
#0 2.391       |                        ^~~~~~~~~~
#0 2.514 cc1: all warnings being treated as errors
#0 2.520 make: *** [../src/build.rules:89: /eapol/wpa_supplicant-2.10/build/wpa_supplicant/bss.o] Error 1
------
Dockerfile:18
--------------------
  16 |     
  17 |     WORKDIR /eapol/wpa_supplicant-$WPA_SUPPLICANT_VERSION/wpa_supplicant
  18 | >>> RUN make eapol_test
  19 |     RUN mv eapol_test /usr/local/bin/
  20 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c make eapol_test" did not complete successfully: exit code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.