Source-Changes archive

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

CVS commit: [netbsd-8] src

Module Name:    src
Committed By:   snj
Date:           Mon Feb 12 04:05:07 UTC 2018

Modified Files:
        src/sbin/gpt [netbsd-8]: backup.c biosboot.c gpt.c gpt.h restore.c
        src/sys/dev/dkwedge [netbsd-8]: dkwedge_gpt.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #545):
        sbin/gpt/backup.c: 1.17-1.18
        sbin/gpt/biosboot.c: 1.29-1.30
        sbin/gpt/gpt.c: 1.71-1.73
        sbin/gpt/gpt.h: 1.36
        sbin/gpt/restore.c: 1.17
        sbin/gpt/show.c: 1.40-1.41
        sys/dev/dkwedge/dkwedge_gpt.c: 1.19-1.20
PR/52522: Piotr Meyer: Don't NUL terminate the gpt label name.
- make sure that the utf16 string is padded with 0's where needed.
- since the utf16 string is not 0 terminated, pass the size of the string.
use __arraycount
PR/52522: ent_name is not necessarily 0 terminated, so check bounds.
use arraycount.

To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.8.1 src/sbin/gpt/backup.c src/sbin/gpt/restore.c
cvs rdiff -u -r1.27.4.1 -r1.27.4.2 src/sbin/gpt/biosboot.c
cvs rdiff -u -r1.70 -r1.70.4.1 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.35 -r1.35.4.1 src/sbin/gpt/gpt.h
cvs rdiff -u -r1.39 -r1.39.6.1 src/sbin/gpt/show.c
cvs rdiff -u -r1.18 -r1.18.6.1 src/sys/dev/dkwedge/dkwedge_gpt.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