search for: 7bf4d91

Displaying 3 results from an estimated 3 matches for "7bf4d91".

Did you mean: 0bf4491
2016 Feb 24
2
[PATCH 3/5] installers: MSVC compatibility fixes
More MSVC compatibility fixes, for packed structures. NB: In case you are aware of the issues that may come with MS vs GCC packing, so far, I have not seen evidence of detrimental impact from using ms_struct packing in MSVC (vs gcc_struct, which is explicitly specified for MinGW), with regards to the sections of code I am using in Rufus. -------------- next part --------------
2016 Mar 06
0
[PATCH 3/5] installers: MSVC compatibility fixes
...PATCH 3/5] installers: MSVC compatibility fixes > > --- > libinstaller/syslxint.h | 13 ++++++++++++- > libinstaller/syslxmod.c | 3 ++- > 2 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c > index 0ec4164..7bf4d91 100644 > --- a/libinstaller/syslxmod.c > +++ b/libinstaller/syslxmod.c > @@ -41,7 +41,8 @@ static void generate_extents(struct syslinux_extent _slimg > *ex, int nptrs, > unsigned int len; > > base = addr; > - len = lba = 0; > + len = 0; > + lba = 0;...
2016 Mar 07
1
[PATCH 4/5] installers: fix a possible buffer overflow when looking for LDLINUX_MAGIC
On 2016.03.07 03:27, Shao Miller via Syslinux wrote: > - Casting to a uintptr_t is ugly (and not C89, not that Syslinux cares > about that) Yeah, I'd have liked to avoid that too, but some compilers will complain about pointer arithmetic logic, unless you specifically use uintptr_t. But, considering your other very valid point, let me see if I can work something better here, that