Skip to content
  • Deucе's avatar
    110f23bf
    Add some paranoia around size of macros. · 110f23bf
    Deucе authored
    Initially set 1MB as the max macro size.  I can't imagine wanting
    one bigger than this, but I can bump it up if needed.
    
    This likely fixes a vulerability where the BBS could at least crash
    SyncTERM, and at most take control of the users system.  This
    likely isn't the only place that needs bounds checks like this.
    110f23bf
    Add some paranoia around size of macros.
    Deucе authored
    Initially set 1MB as the max macro size.  I can't imagine wanting
    one bigger than this, but I can bump it up if needed.
    
    This likely fixes a vulerability where the BBS could at least crash
    SyncTERM, and at most take control of the users system.  This
    likely isn't the only place that needs bounds checks like this.
Loading