Blue Swirl
2864f104c5
Fix NULL pointer dereferences, spotted by clang analyzer
Fix clang warnings:
../packages/disk-label.c:83:6: warning: Dereference of null pointer
if( *s == '-' || isdigit(*s) ||
../libopenbios/elf_load.c:267:5: warning: Null pointer passed as an argument to a 'nonnull' parameter
memcpy(addr, name, nhdr.n_namesz);
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@752 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-25 12:53:39 +00:00
..
2010-04-02 13:01:10 +00:00
2010-03-14 17:19:58 +00:00
2010-04-02 10:28:48 +00:00
2010-04-02 13:01:10 +00:00
2010-03-13 10:58:19 +00:00
2010-04-08 21:31:44 +00:00
2010-03-14 20:10:01 +00:00
2010-04-25 12:53:37 +00:00
2010-04-25 12:53:39 +00:00
2010-04-02 10:28:48 +00:00
2010-03-14 15:05:53 +00:00
2010-03-14 15:05:53 +00:00
2010-03-28 23:47:36 +00:00
2010-03-13 10:58:19 +00:00
2010-04-02 13:01:10 +00:00
2010-04-02 13:01:10 +00:00
2010-03-14 15:05:53 +00:00
2010-03-13 10:58:19 +00:00
2010-03-14 17:19:58 +00:00
2010-03-13 10:58:19 +00:00
2010-04-12 10:03:05 +00:00
2010-04-02 10:28:48 +00:00