Skip to content

BufferOverflow in DES.cpp #10

Description

@drmpf

In function '__base_ctor .constprop',
inlined from '__static_initialization_and_destruction_0.constprop' at C:\Users\matthew\Documents\Arduino\SenderUnoBinaryEncrypted\SenderUnoBinaryEncrypted.ino:7:5,
inlined from 'global constructors keyed to 65535_0_SenderUnoBinaryEncrypted.ino.cpp.o' at C:\Users\matthew\Documents\Arduino\SenderUnoBinaryEncrypted\SenderUnoBinaryEncrypted.ino:135:1:
C:\Users\matthew\Documents\Arduino\libraries\ArduinoDES-master\DES.cpp:177:9: warning: '__builtin_strcpy' writing 25 bytes into a region of size 24 overflows the destination [-Wstringop-overflow=]
sprintf((char *)key,"000000000000000000000000\0");
^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions