diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2000-11-21 02:24:32 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2000-11-21 02:24:32 +0000 |
commit | eb6e10cb73e319a8d4651df7df667cd14b26ec70 (patch) | |
tree | 0874df98f18888733fd9c1a488edaa822157603f /bfd/bfd.c | |
parent | e4f7b8c818485e2f02fa7f7e0255973b062eeeda (diff) | |
download | gdb-eb6e10cb73e319a8d4651df7df667cd14b26ec70.zip gdb-eb6e10cb73e319a8d4651df7df667cd14b26ec70.tar.gz gdb-eb6e10cb73e319a8d4651df7df667cd14b26ec70.tar.bz2 |
2000-11-20 Kazu Hirata <kazu@hxi.com>
* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -833,7 +833,7 @@ DESCRIPTION Instead, we want to ask questions like "is this NNN byte sized object I'm about to try read from file offset YYY reasonable?" As as example of where we might do this, some object formats - use string tables for which the first <<sizeof(long)>> bytes of the + use string tables for which the first <<sizeof (long)>> bytes of the table contain the size of the table itself, including the size bytes. If an application tries to read what it thinks is one of these string tables, without some way to validate the size, and for @@ -980,7 +980,7 @@ bfd_scan_vma (string, end, base) int digit; /* Let the host do it if possible. */ - if (sizeof(bfd_vma) <= sizeof(unsigned long)) + if (sizeof (bfd_vma) <= sizeof (unsigned long)) return (bfd_vma) strtoul (string, (char **) end, base); /* A negative base makes no sense, and we only need to go as high as hex. */ |