#3 Conflicting declarations of variable pinbuf

v1.0 (example)
wont-fix
nobody
None
5
2015-04-11
2012-09-22
No

Hi,

While building your package using our research compiler infrastructure we noticed the following conflicting declarations:

./arcio.c:extern char *pinbuf; /* general purpose input buffer */
./arc.c:u_char *pinbuf, *pakbuf, *outbuf, *outend;

Interpreting the buffer both as signed and unsigned char will result in undefined behaviour.

Best,
Michael

Discussion

  • Howard Chu
    Howard Chu
    2015-04-11

    The buffer is not used in arc.c, so there is no ambiguity in usage.

     
  • Howard Chu
    Howard Chu
    2015-04-11

    • status: open --> wont-fix
    • Group: --> v1.0 (example)