NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/52678 CVS commit: src/usr.sbin/makemandb
The following reply was made to PR bin/52678; it has been noted by GNATS.
From: "Abhinav Upadhyay" <abhinav%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/52678 CVS commit: src/usr.sbin/makemandb
Date: Tue, 31 Oct 2017 10:14:27 +0000
Module Name: src
Committed By: abhinav
Date: Tue Oct 31 10:14:27 UTC 2017
Modified Files:
src/usr.sbin/makemandb: custom_apropos_tokenizer.c
Log Message:
Casting variable of type int * to size_t *, may cause
alignment issues on some platforms (e.g. Sparc64)
So, Use a temporary variable to avoid the cast.
Thanks to Martin@ for noticing the issue and also suggesting the issue.
Fixes PR bin/52678
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/makemandb/custom_apropos_tokenizer.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index