drivers/isdn/mISDN/dsp_blowfish.c:662:1: warning: the frame size of 1632 bytes is larger than 1024 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ad0b40fa944628d6f30b40266a599b285d70a266
commit: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker
date:   10 days ago
config: i386-randconfig-x0-01310609 (attached as .config)
reproduce:
        git checkout c6d308534aef6c99904bf5862066360ae067abc4
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/isdn/mISDN/dsp_blowfish.c: In function 'dsp_bf_init':
>> drivers/isdn/mISDN/dsp_blowfish.c:662:1: warning: the frame size of 1632 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +662 drivers/isdn/mISDN/dsp_blowfish.c

960366cf Karsten Keil 2008-07-27  646  		encrypt_block(P, S, data, data);
960366cf Karsten Keil 2008-07-27  647  
960366cf Karsten Keil 2008-07-27  648  		P[i] = data[0];
960366cf Karsten Keil 2008-07-27  649  		P[i + 1] = data[1];
960366cf Karsten Keil 2008-07-27  650  	}
960366cf Karsten Keil 2008-07-27  651  
960366cf Karsten Keil 2008-07-27  652  	for (i = 0; i < 4; i++) {
960366cf Karsten Keil 2008-07-27  653  		for (j = 0, count = i * 256; j < 256; j += 2, count += 2) {
960366cf Karsten Keil 2008-07-27  654  			encrypt_block(P, S, data, data);
960366cf Karsten Keil 2008-07-27  655  
960366cf Karsten Keil 2008-07-27  656  			S[count] = data[0];
960366cf Karsten Keil 2008-07-27  657  			S[count + 1] = data[1];
960366cf Karsten Keil 2008-07-27  658  		}
960366cf Karsten Keil 2008-07-27  659  	}
960366cf Karsten Keil 2008-07-27  660  
960366cf Karsten Keil 2008-07-27  661  	return 0;
960366cf Karsten Keil 2008-07-27 @662  }
960366cf Karsten Keil 2008-07-27  663  
960366cf Karsten Keil 2008-07-27  664  
960366cf Karsten Keil 2008-07-27  665  /*
960366cf Karsten Keil 2008-07-27  666   * turn encryption off
960366cf Karsten Keil 2008-07-27  667   */
960366cf Karsten Keil 2008-07-27  668  void
960366cf Karsten Keil 2008-07-27  669  dsp_bf_cleanup(struct dsp *dsp)
960366cf Karsten Keil 2008-07-27  670  {

:::::: The code at line 662 was first introduced by commit
:::::: 960366cf8dbb3359afaca30cf7fdbf69a6d6dda7 Add mISDN DSP

:::::: TO: Karsten Keil <kkeil@xxxxxxx>
:::::: CC: Karsten Keil <kkeil@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]