]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) make entries array size calculation more robust
authorKarel Zak <kzak@redhat.com>
Wed, 5 Apr 2017 16:40:56 +0000 (18:40 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Apr 2017 16:40:56 +0000 (18:40 +0200)
commit9e320545bb6186b14aa9339cdcb83cfce1d9221b
treef46e50d0cf50ab904457c8e01e0124ed61a685c5
parentb683c081085381401f1f777d076d073759cdb964
libfdisk: (gpt) make entries array size calculation more robust

* use the same function everywhere
* keep calculation based on size_t

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/gpt.c